A kind of electronic ticket recommends method and device
Technical field
The present invention relates to technical field of information processing, particularly relate to a kind of electronic ticket and recommend method and device.
Background technology
Along with the most progressive of science and technology and development, social informatization obtains development at a high speed.Intelligent terminal's is rapid
Universal, daily life is created the biggest impact, by application service miscellaneous in intelligent terminal, people's
Clothing, food, shelter, row demand can be met greatly.Under this environment, electronic ticket has come into the visual field of people, to people
Shopping, consumption provide great convenience.
Traditional electronic ticket Generalization bounds mostly is the electronic ticket directly recommending denomination maximum for user, when there being multiple denomination phases
With electronic ticket time, select from expiration date nearest electronic ticket for user, but, be based purely on pushing away of the amount of money and expired time
Recommend algorithm be difficult to user select optimum electronic ticket.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of electronic ticket to recommend method and device, to overcome existing electronic ticket to push away
Method of recommending considers that dimension is single, it is impossible to recommend the defect of optimum electronic ticket for user.
First aspect, embodiments provides a kind of electronic ticket and recommends method, including:
Obtain all at least one electronic tickets original of user;
Various dimensions information according at least one electronic ticket described carries out electronic ticket screening, and according to electronic ticket screening knot
Really, from least one electronic ticket described, select optimum electronic ticket for user, use for described user.
In the above-mentioned methods, optionally, described various dimensions information includes that date, frequency of usage, suitable city, commodity belong to
At least one information in property, commodity classification, Brand, user type, the means of payment and the amount of money.
In the above-mentioned methods, optionally, electronic ticket sieve is carried out according to the various dimensions information of at least one electronic ticket described
Choosing, and according to electronic ticket the selection result, from least one electronic ticket described, select optimum electronic ticket for user, including:
According to the described first date of single electron certificate, frequency of usage, it is suitable for city, item property, commodity classification, commodity product
At least one information in board, the means of payment and the amount of money, selects optimum electronic ticket for user from described first single electron certificate, for
Described user uses.
In the above-mentioned methods, optionally, electronic ticket sieve is carried out according to the various dimensions information of at least one electronic ticket described
Before choosing, including:
Traversal at least one electronic ticket described, to obtain the various dimensions information list of at least one electronic ticket described.
In the above-mentioned methods, optionally, electronic ticket sieve is carried out according to the various dimensions information of at least one electronic ticket described
Choosing, including:
If arbitrary dimensional information of arbitrary electronic ticket is unsatisfactory for the use rule set, then records this electronic ticket and be unsatisfactory for institute
State the reason using rule, and record result is fed back to described user.
Second aspect, embodiments provides a kind of electronic ticket recommendation apparatus, including:
Electronic ticket acquisition module, is used for obtaining all at least one electronic tickets original of user;
Electronic ticket screening module, for carrying out electronic ticket screening according to the various dimensions information of at least one electronic ticket described,
And according to electronic ticket the selection result, from least one electronic ticket described, select optimum electronic ticket for user, for described user
Use.
In said apparatus, optionally, described various dimensions information at least includes date, frequency of usage, is suitable for city, business
An information in product attribute, commodity classification, Brand, user type, the means of payment and the amount of money.
In said apparatus, optionally, electronic ticket screening module includes:
First single electron certificate determines unit, if single user headed by described user, then according at least one electronic ticket described
User type information, obtain the first single electron certificate comprised at least one electronic ticket described;
Optimum electronic ticket determines unit, for according to the described first date of single electron certificate, frequency of usage, applicable city, business
At least one information in product attribute, commodity classification, Brand, the means of payment and the amount of money, from described first single electron certificate be
User selects optimum electronic ticket, uses for described user.
In said apparatus, optionally, including list acquisition module, for according at least one electronic ticket described
Before various dimensions information carries out electronic ticket screening, traversal at least one electronic ticket described, to obtain at least one electronic ticket described
Various dimensions information list.
In said apparatus, optionally, described electronic ticket screening module specifically for:
If arbitrary dimensional information of arbitrary electronic ticket is unsatisfactory for the use rule set, then records this electronic ticket and be unsatisfactory for institute
State the reason using rule, and record result is fed back to described user.
The electronic ticket that the embodiment of the present invention provides recommends method and device, by the various dimensions information according to electronic ticket, right
The all original electronic tickets of user screen, it is thus achieved that optimum electronic ticket, and are supplied to the technological means that user uses, gram
Taken existing electronic ticket proposed algorithm and considered that dimension is single, it is impossible to provided the user the defect of optimum electronic ticket, it is achieved that for
Family provides optimum electronic ticket, reduces user as far as possible and manually selects the time of electronic ticket, greatly improves the use body of user
Test.
Accompanying drawing explanation
By the detailed description that non-limiting example is made made with reference to the following drawings of reading, other of the present invention
Feature, purpose and advantage will become more apparent upon:
Fig. 1 is the schematic flow sheet that a kind of electronic ticket that the embodiment of the present invention one provides recommends method;
Fig. 2 is the schematic flow sheet that a kind of electronic ticket that the embodiment of the present invention two provides recommends method;
Fig. 3 is the schematic flow sheet that a kind of electronic ticket that the embodiment of the present invention three provides recommends method;
Fig. 4 is the structural representation of a kind of electronic ticket recommendation apparatus that the embodiment of the present invention four provides.
Detailed description of the invention
The present invention is described in further detail with embodiment below in conjunction with the accompanying drawings.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just
Part related to the present invention is illustrate only and not all in description, accompanying drawing.
It also should be noted that, for the ease of describe, accompanying drawing illustrate only part related to the present invention rather than
Full content.It should be mentioned that, some exemplary embodiments are described before being discussed in greater detail exemplary embodiment
Become the process or method described as flow chart.Although operations (or step) is described as the process of order by flow chart, but
It is that many of which operation can be implemented concurrently, concomitantly or simultaneously.Additionally, the order of operations can be by again
Arrange.The most described process can be terminated, it is also possible to have the additional step being not included in accompanying drawing.
Described process can correspond to method, function, code, subroutine, subprogram etc..
Embodiment one
A kind of electronic ticket that Fig. 1 provides for the embodiment of the present invention one recommends method flow schematic diagram, and the method is applicable to lead to
Cross the scene that the related application of intelligent terminal carries out doing shopping, can be performed, wherein by the electronic ticket recommendation apparatus of intelligent terminal
This device can be realized by software and/or hardware, and typically can be integrated in intelligent terminal.With reference to Fig. 1, the electricity that the present embodiment provides
Sub-certificate recommends method to specifically include:
Step 110, acquisition all at least one electronic tickets original of user.
In the present embodiment, electronic ticket refers to the exchange voucher making with various electronic media forms, propagating and use.
Typically, electricity business, when carrying out advertising campaign, automatically can register user for this electricity business and provide electronic ticket, or by
User manually gets electronic ticket in this electricity business's active interface, and all electronic tickets are all recorded in electricity business's client corresponding document, use
The all of electronic ticket in family can check (such as: my electronic ticket, card certificate etc.) in electricity business's client respective interface.
Step 120, various dimensions information according at least one electronic ticket described carry out electronic ticket screening, and according to electronic ticket
The selection result, selects optimum electronic ticket for user from least one electronic ticket described, uses for described user.
In the present embodiment, various dimensions information refers to the general name for each factor screening electronic ticket.Example
Property, various dimensions information can include date, frequency of usage, be suitable for city, item property, commodity classification, Brand, user
At least one information in type, the means of payment and the amount of money.The various dimensions information of electronic ticket is carried out electronic ticket screening, according to electricity
Sub-certificate the selection result, selects optimum electronic ticket for user from least one electronic ticket described, uses for described user.Need
Illustrate, the screening order between the different dimensions information of electronic ticket is not especially limited by the embodiment of the present invention, optional
, the priority of date and user type is higher than other dimensions.
Screened by the various dimensions information of electronic ticket all electronic tickets original to user, it is thus achieved that optimum electronics
Certificate, for user, dimension is single to overcome existing electronic ticket to recommend method to consider, it is impossible to recommend lacking of optimum electronic ticket for user
Fall into, it is achieved that recommend optimum electronic ticket for user, greatly improve the experience of user, decrease user as far as possible manual
Select the time of electronic ticket, promote that user places an order.
Based on the step 120 in above-described embodiment, the various dimensions information of at least one electronic ticket described is being carried out electronics
Before certificate screening, it is also possible at least one electronic ticket described is traveled through, to obtain the multidimensional of at least one electronic ticket described
Degree information list, according to various dimensions information list, screens the various dimensions information of at least one electronic ticket described, thus greatly
Big raising electronic ticket screening efficiency, quickly selects optimum electronic ticket, it is provided that use to user.
Embodiment two
Fig. 2 recommends the schematic flow sheet of method for a kind of electronic ticket that the embodiment of the present invention two provides, more than the present embodiment
It is optimized based on stating embodiment one, with reference to Fig. 2, in the present embodiment, alone headed by customer attribute information is specifically optimized
Family (new user) and non-first single user (old user).
The method of corresponding the present embodiment specifically includes:
Step 210, acquisition all at least one electronic tickets original of user.
If single user headed by the described user of step 220, then according to the user type information of at least one electronic ticket described,
Obtain the first single electron certificate comprised at least one electronic ticket described.
Step 230, according to the described first date of single electron certificate, frequency of usage, be suitable for city, item property, commodity classification,
At least one information in Brand, the means of payment and the amount of money, selects optimum electronics for user from described first single electron certificate
Certificate, uses for described user.
In the present embodiment, it is contemplated that such class application scenarios, such as: if user has a denomination to be 5 yuan, only limit
The first single electronic ticket used, and a denomination is 10 yuan, uses unconfined electronic ticket, when user places an order for the first time, i.e. user
Single user headed by attribute, this user places an order when paying the bill, if user recommends 10 yuan of electronic tickets, although the preferential amount of money is relatively big, but 5
The first single preferential of unit also cannot re-use, and such electronic ticket recommends method, may not meet user's expectation.
For above-mentioned application scenarios, the proposition that the application is creative: obtain all at least one electricity original of user
Sub-certificate, it is judged that whether electronic ticket is applicable to first single user, filters and does not meets first single electronic ticket used, obtain described at least one
The all first single electron certificate comprised in electronic ticket, by all first single electron certificates according to date, frequency of usage, applicable city, commodity
At least one information in attribute, commodity classification, Brand, the means of payment and the amount of money is screened, from described first single electron
Certificate is selected optimum electronic ticket, uses for user.Corresponding above-mentioned application scenarios, electronic ticket recommendation side based on the application
Method, when user places an order first, the first single use electronic ticket that optimum electronic ticket is 5 yuan recommended for user.
Exemplary, the new user of certain related application has two electronic tickets, electronic ticket 1 and electronic ticket 2, electronic ticket 1
Various dimensions information is: the first single use of limit, and the date does not limits, and frequency of usage does not limits, and city does not limits, it is adaptable to the leisure in commodity on one's own account
Snack products, brand does not limits, and the means of payment does not limits, and full 20 yuan subtract 5 yuan;The various dimensions information of electronic ticket 2 is: the date does not limits,
Frequency of usage does not limits, and city does not limits, it is adaptable to the leisure snacks series products in commodity on one's own account, and brand does not limits, and the means of payment does not limits,
Full 20 yuan subtract 8 yuan.
This user has chosen 30 yuan of these clients leisure snacks class commodity on one's own account in this applications client, selects on-line payment
Mode.Recommending method according to the electronic ticket that the present embodiment two provides, the optimum electronic ticket recommended for user is electronic ticket 1.
The present embodiment, by obtaining all at least one electronic tickets original of user, according to user property, obtains institute
Have and meet first single electronic ticket used, screen according to other dimensional information in described electronic ticket various dimensions information, select
Go out the optimum electronic ticket in described first single electron certificate, for user, it is achieved in the mono-use of head, provide the user optimum electronics
Certificate Generalization bounds, meets user's expectation to greatest extent, makes user obtain more preferable purchase experiences.
Embodiment three
Fig. 3 recommends the schematic flow sheet of method for a kind of electronic ticket that the embodiment of the present invention three provides.More than the present embodiment
It is optimized based on stating each embodiment.With reference to Fig. 3, in the present embodiment, according to the various dimensions information of electronic ticket, according to using
Electronic ticket is screened by rule, and on the basis of the various embodiments described above, described in the present embodiment, various dimensions information can include day
In phase, frequency of usage, applicable city, item property, commodity classification, Brand, user type, the means of payment and the amount of money extremely
Few information.In the present embodiment, the various dimensions information of electronic ticket preferably includes: date, frequency of usage, applicable city, user
Type, the means of payment and the amount of money.
Typically, electronic ticket uses rule based on above-mentioned various dimensions information setting, is used for judging that electronic ticket whether may be used
To use rule.Date can be the expiration date of electronic ticket;Frequency of usage can be the number of times that electronic ticket can use, as with
Mother and baby's series products is bought in certain applications client in family, and this user has 3 spendable mother and baby's series products electronic tickets, but these three electricity
Sub-certificate uses rule all to include: like product can only use such electronic ticket, then this user's initial purchase on the same day every day
Mother and baby's series products, employs in 3 mother and baby's electron-like certificates, when this user is at second time purchase on same day mother and baby's series products
Time, owing to like product can only use the frequency of usage of an electronic ticket, i.e. electronic ticket to limit every day, therefore, remaining 2 mothers
This user's second time on the same day of baby's electron-like certificate can not use when buying mother and baby's series products;Applicable city in various dimensions information is permissible
It is the city that can use of electronic ticket, as certain electronic ticket information includes that only limiting Beijing area uses;Item property can be certain
Application commodity or non-self-operation commodity on one's own account;Commodity classification may include that beverage drinks, convenient instant, grain and oil seasoning and life are used
Product etc.;Brand can be the brand of applications client all products on sale, as milk brand includes Mongolia Ox, Erie, sage
Herd and monarch Le Bao etc.;User type can be first single user (i.e. new user) or non-first single user (i.e. old user);The means of payment
Can be on-line payment or non-on-line payment, concrete, on-line payment includes: wechat pays, Alipay pays or stored value card
Pay;The amount of money can include the thresholding amount of money and the preferential amount of money of electronic ticket that electronic ticket uses, as electronic ticket information includes full
79 yuan subtract 5 yuan, 79 yuan of thresholding amount of money that can use for electronic ticket therein, and the commodity only bought as user are more than or equal to
When 79 yuan, just can use this electronic ticket, 5 yuan of amount of money can being of use for electronic ticket, the most preferential amount of money.
Accordingly, the method for the present embodiment specifically includes:
Step 310, acquisition all at least one electronic tickets original of user.
Step 320, judge that whether the expiration date of electronic ticket meets the use rule set, the most then perform step
330, otherwise, redirect execution step 390.
Step 330, judge that whether the frequency of usage of electronic ticket meets the use rule set, the most then perform step
340, otherwise, redirect execution step 390.
Step 340, judge that whether the city that is suitable for of electronic ticket meets the use rule set, the most then perform step
350, otherwise, redirect execution step 390.
Step 350, judge that whether the user type of electronic ticket meets the use rule set, the most then perform step
360, otherwise, redirect execution step 390.
Step 360, judge that whether the means of payment of electronic ticket meets the use rule set, the most then perform step
370, otherwise, redirect execution step 390.
Whether step 370, the thresholding amount of money of calculating electronic ticket meet the use rule set, and calculate the excellent of electronic ticket simultaneously
The favour amount of money.
Step 380, to meet all settings use rule electronic ticket, compare based on above-mentioned various dimensions information,
Optimum electronic ticket is selected from least one electronic ticket.
Exemplary, certain applications client registration all untapped electronic tickets of user include:
Electronic ticket 1:2016 used before April 30, user property, frequency of usage, was suitable for city and the means of payment the most not
Limit, full 50 subtract 15 yuan;
Electronic ticket 2:2016 used before April 30, user property, frequency of usage, was suitable for city and the means of payment the most not
Limit, full 50 subtract 10 yuan;
Electronic ticket 3:2016 used before May 20, user property, frequency of usage, was suitable for city and the means of payment the most not
Limit, full 50 subtract 10 yuan;
Electronic ticket 4: limit first single use, used before 30 days April in 2016, frequency of usage, applicable city and the means of payment are equal
Not limiting, full 50 subtract 15 yuan;
Such as: if this user is new user, user did shopping under first time in certain applications client on April 20th, 2016
Single, buying goods amount is 60 yuan, uses rule according to the electronic ticket set, and untapped electronic tickets all to this user are by step
Rapid 310~step 380 carry out various dimensions information sifting.
Owing to when judging the user type of electronic ticket according to step 350, electronic ticket 4 meets the first single use of limit
Using rule, therefore, the optimum electronic ticket recommended for user is electronic ticket 4.
The most such as: this user is old user, user did shopping in certain applications client on April 22nd, 2016, bought commodity
The amount of money is 55 yuan, uses rule according to the electronic ticket set, and untapped electronic tickets all to this user press step 310~step
380 carry out various dimensions information sifting.
Screening obtain user can electronic ticket be electronic ticket 1~electronic ticket 3, i.e. according to various dimensions information to electronic ticket sieve
After choosing, there are multiple available electron certificates, when selecting optimum electronic ticket for user, further to the expiration date of electronic ticket with preferential
The amount of money compares, and selects effect duration shorter, that electronic ticket that the preferential amount of money is maximum, and wherein electronic ticket effect duration is electricity
The expiration date of sub-certificate and the interval time on shopping date on the same day.The effect duration of electronic ticket 1~electronic ticket 3 is compared, by
Shorter with the effect duration of electronic ticket 2 in electronic ticket 1, therefore electronic ticket 1 and electronic ticket 2 become alternative optimum electronic ticket, to electricity
Sub-certificate 1 compares with the preferential amount of money of electronic ticket 2, and the preferential amount of money of electronic ticket 1 is more than the preferential amount of money of electronic ticket 2, therefore
Electronic ticket 1 becomes the optimum electronic ticket recommended for user priority.
Further, on the basis of the various embodiments described above, using the rule various dimensions to electronic ticket according to set
During information is screened, it is also possible to recorded electronic certificate is unsatisfactory for the described reason using rule, and i.e. recorded electronic certificate is not
Available reason, and record result is fed back to user.
The disabled reason of electronic ticket feeding back to user can simply be one.Exemplary, the information of electronic ticket includes
Limit Beijing area can be used, and address of theenduser information is Efficiency in Buildings in Tianjin Area, then judging this electronic ticket information according to step 350
Time, this electronic ticket is unavailable, now the unavailable reason of recorded electronic certificate: limit Beijing area uses, and no longer to this electronics
Certificate carries out the judgement of next dimensional information.
The unavailable reason of electronic ticket feeding back to user can be a plurality of.Exemplary, the information of electronic ticket includes only limiting
Beijing area and only limit on-line payment use, and address of theenduser is Efficiency in Buildings in Tianjin Area, and the Payment Methods that user selects are cash
Payment, then, when judging this electronic ticket according to step 340, this electronic ticket is unavailable, the disabled reason of recorded electronic certificate
1: limit Beijing area uses, meanwhile, continue other dimensional information of this electronic ticket are judged, according to step 360 to this
When electronic ticket judges, electronic ticket is unavailable, records the disabled reason of this electronic ticket 2: on-line payment uses, and by record
The all unavailable reason of this electronic ticket feed back to user.
Advantage of this is that: when there is untapped electronic ticket in the account that user occurs, but the commodity that user buys
When cannot use the situation of electronic ticket, user can be according to the disabled all reasons of the electronic ticket feeding back to user, to being wanted
The commodity bought are adjusted targetedly (such as: gather list), thus allow users to use corresponding electronic ticket, strengthen user
Experience.
The present embodiment is by obtaining all at least one electronic tickets original of user, right according to default use rule
The various dimensions information of electronic ticket is screened, and selects the optimum electronic ticket at least one electronic ticket described, for user,
Provide the user optimum electronic ticket Generalization bounds, meet user's expectation to greatest extent, and, reason disabled to electronic ticket is entered
Row record, and feed back to user, allow users to commodity to be bought are adjusted targetedly, use corresponding electricity
Sub-certificate, further increases the experience of user.
Embodiment four
The structural representation of a kind of electronic ticket recommendation apparatus that Fig. 4 provides for the embodiment of the present invention four.The present embodiment can be fitted
Related application for intelligent terminal is the situation that user recommends electronic ticket.With reference to Fig. 4, the electronic ticket that the present embodiment provides is recommended
Device specifically may include that
Electronic ticket acquisition module 401, is used for obtaining all at least one electronic tickets original of user;
Electronic ticket screening module 402, for carrying out electronic ticket sieve according to the various dimensions information of at least one electronic ticket described
Choosing, and according to electronic ticket the selection result, from least one electronic ticket described, select optimum electronic ticket for user, for described use
Family uses.
The electronic ticket recommendation apparatus that the embodiment of the present invention provides, by the various dimensions information according to electronic ticket, to user institute
There is original electronic ticket to screen, it is thus achieved that optimum electronic ticket, and be supplied to the technological means that user uses, overcome existing
Dimension is single to have electronic ticket proposed algorithm to consider, it is impossible to provide the user the defect of optimum electronic ticket, it is achieved that provide the user
Optimum electronic ticket, greatly improves the experience of user, reduces user as far as possible and manually selects the time of electronic ticket, promotes
User places an order.
On the basis of the various embodiments described above, described various dimensions information specifically includes: the date, frequency of usage, be suitable for city,
At least one information in item property, commodity classification, Brand, user type, the means of payment and the amount of money.
On the basis of the various embodiments described above, described electronic ticket recommendation apparatus can also include:
First single electron certificate determines unit, if single user headed by described user, then according at least one electronic ticket described
User type information, obtain the first single electron certificate comprised at least one electronic ticket described;
Optimum electronic ticket determines unit, for according to the described first date of single electron certificate, frequency of usage, applicable city, business
At least one information in product attribute, commodity classification, Brand, the means of payment and the amount of money, from described first single electron certificate be
User selects optimum electronic ticket, uses for described user.
On the basis of the various embodiments described above, described electronic ticket recommendation apparatus can also include:
List acquisition module, screens it for carrying out electronic ticket in the various dimensions information according at least one electronic ticket described
Before, traversal at least one electronic ticket described, to obtain the various dimensions information list of at least one electronic ticket described.
On the basis of the various embodiments described above, described electronic ticket screening module 402 specifically may be used for:
If arbitrary dimensional information of arbitrary electronic ticket is unsatisfactory for the use rule set, then records this electronic ticket and be unsatisfactory for institute
State the reason using rule, and record result is fed back to described user.
The electronic ticket recommendation apparatus that the embodiment of the present invention five provides, the electronic ticket provided with any embodiment of the present invention pushes away
The method of recommending belongs to same inventive concept, and the electronic ticket that can perform any embodiment of the present invention is provided recommends method, possesses execution
Electronic ticket recommends the corresponding functional module of method and beneficial effect.The ins and outs of the most detailed description, can join
See that the electronic ticket that any embodiment of the present invention provides recommends method.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious change,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although by above example, the present invention is carried out
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
Other Equivalent embodiments more can be included, and the scope of the present invention is determined by scope of the appended claims.