CN110969471A - Electronic ticket distribution method and device - Google Patents

Electronic ticket distribution method and device Download PDF

Info

Publication number
CN110969471A
CN110969471A CN201811162025.6A CN201811162025A CN110969471A CN 110969471 A CN110969471 A CN 110969471A CN 201811162025 A CN201811162025 A CN 201811162025A CN 110969471 A CN110969471 A CN 110969471A
Authority
CN
China
Prior art keywords
electronic ticket
record
electronic
request
data pool
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
Application number
CN201811162025.6A
Other languages
Chinese (zh)
Other versions
CN110969471B (en
Inventor
过靖康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201811162025.6A priority Critical patent/CN110969471B/en
Publication of CN110969471A publication Critical patent/CN110969471A/en
Application granted granted Critical
Publication of CN110969471B publication Critical patent/CN110969471B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0224Discounts 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 invention discloses a method and a device for distributing electronic coupons. Wherein, the method comprises the following steps: receiving an electronic ticket distribution request sent by a request end; acquiring a history record of the request terminal according to the identification information of the request terminal, wherein the history record comprises: the access record of the request end and/or the transaction record of the request end; searching a target electronic ticket matched with the history record of the request end from candidate electronic tickets, wherein the candidate electronic tickets comprise electronic tickets corresponding to a plurality of electronic ticket distribution main bodies; and returning the target electronic ticket to the request end. The invention solves the technical problem that electronic ticket commodities are not targeted when being delivered from the warehouse in the prior art.

Description

Electronic ticket distribution method and device
Technical Field
The invention relates to the field of data processing, in particular to a method and a device for distributing electronic coupons.
Background
In the marketing field, some marketing activities or the credit mall of an enterprise distribute some goods such as paid or free coupons, discount cards and the like to users, and generally distribute the goods in a manner of sending electronic tickets to electronic accounts or mailboxes of the users.
The electronic ticket type goods usually have their own ticket code and their own expiration date, and at present, when the electronic ticket is distributed, the electronic ticket is manually processed or randomly distributed, so that the electronic ticket is not issued with pertinence, and the user does not use the electronic ticket, thereby causing the electronic ticket to be wasted.
Aiming at the problem that goods such as electronic coupons do not have pertinence when being delivered from a warehouse in the prior art, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for distributing electronic coupons, which at least solve the technical problem that the process of delivering commodities such as electronic coupons from a warehouse is complicated in the prior art.
According to an aspect of an embodiment of the present invention, there is provided an electronic ticket distribution method including: receiving an electronic ticket distribution request sent by a request end; acquiring a history record of the request terminal according to the identification information of the request terminal, wherein the history record comprises: the access record of the request end and/or the transaction record of the request end; searching a target electronic ticket matched with the history record of the request end from candidate electronic tickets, wherein the candidate electronic tickets comprise electronic tickets corresponding to a plurality of electronic ticket distribution main bodies; and returning the target electronic ticket to the request end.
Further, in the case that the history includes an access record of the request side and a transaction record of the request side, searching the target electronic ticket matched with the history of the request side from the candidate electronic tickets, including: acquiring access data of a plurality of electronic ticket distributing main bodies in an access record and transaction data in a transaction record; determining scores for a plurality of electronic ticket distribution entities based on the access data and the transaction data; determining the electronic ticket distributing main body with the highest score as a target electronic ticket distributing main body; determining attribute parameters of a request end according to transaction data in the transaction records; searching the electronic ticket matched with the attribute parameter from the electronic ticket corresponding to the target electronic ticket distribution main body; and determining the searched electronic ticket as a target electronic ticket.
Further, acquiring a mean value of the transaction data in a preset time period; on the basis of the mean value, floating a first preset value upwards or floating a second preset value downwards; and determining the floated average value as the attribute parameter of the request end.
Further, acquiring a first electronic ticket record in a data pool corresponding to the target electronic ticket, wherein the electronic ticket records in the data pool are ordered according to the end time of the electronic ticket from first to last; and distributing the first electronic ticket record in the data pool to the request end.
Further, if the first electronic ticket record is not validated, the method further comprises: and newly adding the first electronic ticket record which is not in effect to the data pool.
Further, if the current time has reached the start time of the first electronic ticket, determining that the first electronic ticket has been validated; if the current time has not reached the start time of the first electronic ticket, it is determined that the first electronic ticket is not in effect.
Further, before receiving an electronic ticket distribution request sent by a request terminal, generating a data pool including electronic ticket records, wherein the step of generating the data pool including the electronic ticket records comprises: adding the electronic ticket record to a data pool; and performing initialization processing on the electronic ticket records added into the data pool, wherein the initialization processing is used for packaging the electronic ticket records by using the ordered structure by taking the end time of the electronic ticket records as the weight value of the electronic ticket records to obtain the stock object of the data pool.
According to an aspect of an embodiment of the present invention, there is provided an electronic ticket distributing apparatus including: the receiving module is used for receiving an electronic ticket distribution request sent by a request end; the acquisition module is used for acquiring the history record of the request terminal according to the identification information of the request terminal, wherein the history record comprises: the access record of the request end and/or the transaction record of the request end; the searching module is used for searching a target electronic ticket matched with the history record of the request end from the candidate electronic tickets, wherein the candidate electronic tickets comprise electronic tickets corresponding to a plurality of electronic ticket distributing main bodies; and the return module is used for returning the target electronic ticket to the request end.
According to an aspect of the embodiments of the present invention, there is provided a storage medium including a stored program, wherein a device on which the storage medium is located is controlled to execute the above-described method for distributing electronic tickets when the program is executed.
According to an aspect of the embodiments of the present invention, there is provided a processor for executing a program, wherein the program executes the method for distributing an electronic ticket described above.
In the embodiment of the invention, an electronic coupon distribution request sent by a request end is received, and a history record of the request end is obtained according to identification information of the request end, wherein the history record comprises: and searching a target electronic ticket matched with the history record of the request end from the candidate electronic tickets according to the access record of the request end and/or the transaction record of the request end, wherein the candidate electronic tickets comprise the electronic tickets corresponding to a plurality of electronic ticket distribution main bodies, and returning the target electronic ticket to the request end. According to the scheme, after the electronic coupon distribution request sent by the user is received, the corresponding electronic coupon is recommended for the user based on the historical record of the user, so that the electronic coupon recommended to the user has certain conformity with the behavior habit of the user, the use requirement of the user is met more easily, the purchase of the user is further stimulated, and the technical problem that electronic coupon commodities are not targeted when being taken out of a warehouse in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of a method of distributing an electronic ticket according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an electronic ticket distributing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a method for distribution of electronic coupons, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions and that, although a logical ordering is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than that described herein.
Fig. 1 is a flowchart of a method of distributing electronic tickets according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:
step S102, receiving an electronic ticket distribution request sent by a request end.
Specifically, the electronic ticket distribution request is used for requesting the electronic ticket in the data pool to be exported.
In an alternative embodiment, the merchant who issues the electronic ticket displays the information of getting the electronic ticket on the website, and the server receives the distribution request of the electronic ticket after the user clicks the information of getting the electronic ticket.
In the above scheme, the electronic ticket may be regarded as a commodity, and the distribution request of the electronic ticket may be triggered by a purchase or free pickup of the user.
Step S104, acquiring a history record of the request terminal according to the identification information of the request terminal, wherein the history record comprises: access records of the requesting end and/or transaction records of the requesting end.
Still taking the shopping website as an example, the history record of the requesting end may be a history record of the user who sent the e-ticket distribution request on the shopping website, where the access record may refer to a record of the user accessing the shopping website, and the transaction record refers to a record of the user purchasing the shopping website.
In an alternative embodiment, after the user logs in the shopping website, the clicking behavior or the browsing behavior of the user on the shopping website within a period of time is recorded by a web log, and when the user initiates an electronic ticket distribution request on the shopping website, the server of the shopping website acquires the history of the user, so that the access condition of the user to the shopping website and the transaction condition are obtained, and an appropriate target electronic ticket is pushed to the user on the basis of the history.
And step S106, searching a target electronic ticket matched with the history record of the request end from the candidate electronic tickets, wherein the candidate electronic tickets comprise electronic tickets corresponding to a plurality of electronic ticket distributing main bodies.
Specifically, the electronic ticket distribution body may be a merchant of an electronic ticket provided on a shopping website. Still taking the shopping website as an example, the shopping website has stores or goods corresponding to a plurality of merchants, taking "double 11" as an example, the plurality of merchants provide coupons (i.e. electronic coupons) on the shopping website, and when the user gets the coupons on the shopping website, the shopping website pushes the corresponding electronic coupons to the user according to the history of the user.
When pushing electronic tickets to a user according to a history, the electronic tickets may be distributed to merchants who recommend the most frequent transactions or most frequent visits to the user, and each merchant may also have a variety of different electronic tickets, such as: full 500 minus 100, full 400 minus 50, etc., and when the electronic ticket issuing body is determined, the electronic ticket corresponding to the user is selected from the electronic tickets included in the electronic ticket issuing body.
And step S108, returning the target electronic ticket to the request end.
In the scheme, the target electronic ticket corresponding to the request end is returned to the request end so as to respond to the electronic ticket distribution request initiated by the user.
As can be seen from the above, in the above embodiments of the present application, an electronic ticket distribution request sent by a request end is received, and a history record of the request end is obtained according to identification information of the request end, where the history record includes: and searching a target electronic ticket matched with the history record of the request end from the candidate electronic tickets according to the access record of the request end and/or the transaction record of the request end, wherein the candidate electronic tickets comprise the electronic tickets corresponding to a plurality of electronic ticket distribution main bodies, and returning the target electronic ticket to the request end. According to the scheme, after the electronic coupon distribution request sent by the user is received, the corresponding electronic coupon is recommended for the user based on the historical record of the user, so that the electronic coupon recommended to the user has certain conformity with the behavior habit of the user, the use requirement of the user is met more easily, the purchase of the user is further stimulated, and further, the technical problem that the electronic coupon commodity warehouse-out in the prior art has no pertinence is solved.
As an alternative embodiment, in the case that the history record includes the access record of the requesting end and the transaction record of the requesting end, the method for searching the target electronic ticket matching with the history record of the requesting end from the candidate electronic tickets includes: acquiring access data of a plurality of electronic ticket distributing main bodies in an access record and transaction data in a transaction record; determining scores for a plurality of electronic ticket distribution entities based on the access data and the transaction data; determining the electronic ticket distributing main body with the highest score as a target electronic ticket distributing main body; determining attribute parameters of a request end according to transaction data in the transaction records; searching the electronic ticket matched with the attribute parameter from the electronic ticket corresponding to the target electronic ticket distribution main body; and determining the searched electronic ticket as a target electronic ticket.
Specifically, the score of the electronic ticket distributing body may be the score of the merchant who distributes the electronic ticket.
In an alternative embodiment, the access data and the transaction data may be respectively set with weights, wherein the weight of the transaction data is greater than the weight of the access data. The transaction data may be a transaction amount and the access data may be a number of accesses. Taking a merchant as an example, if the number of visits the user has to the merchant in the last month is 20, and the purchase amount at the merchant is 600 dollars, the merchant may score the user by a weight of 20 access data + a weight of 600 transaction amount.
After determining the scores of all the merchants for the user, the merchant with the last score is determined as the target electronic ticket distributing body, and then the target electronic ticket of the user is searched from the electronic tickets distributed by the target electronic ticket distributing body.
The transaction data may be transaction amount, the attribute information of the request terminal is determined according to the transaction data, and the average value of the transaction amount of each unit of the user in a preset time period may be determined to be the attribute information of the request terminal.
The electronic ticket matched with the attribute parameter refers to the electronic ticket with the highest preferential strength when the purchase amount is the attribute parameter. For example, the electronic ticket of the main body distributed with the target electronic ticket includes: taking full 500 minus 100 and full 300 minus 50 as examples, if the attribute parameter of the user is 600, full 500 minus 100 is determined as the target electronic ticket, and if the attribute parameter of the user is 400, full 500 minus 100 is determined as the target electronic ticket.
As an alternative embodiment, determining the attribute parameter of the request end according to the transaction data in the transaction record includes: acquiring the mean value of transaction data in a preset time period; on the basis of the mean value, floating a first preset value upwards or floating a second preset value downwards; and determining the floated average value as the attribute parameter of the request end.
Specifically, the transaction data may be a transaction amount, and the average value of the transaction amount may be an average value of transaction amounts of multiple transactions, that is, an average value of amounts of multiple orders.
In the above scheme, on the basis of the mean value of the transaction data, the first preset value is floated upwards to encourage the user to purchase more or more expensive goods in order to reach the full-reduced amount in the electronic coupon, and the second preset value is floated downwards to encourage the user to purchase more or more expensive goods in order to use more coupons.
As an alternative embodiment, returning the target electronic ticket to the requesting end includes: acquiring a first electronic ticket record in a data pool corresponding to a target electronic ticket, wherein the electronic ticket records in the data pool are ordered according to the end time of the electronic ticket from first to last; and distributing the first electronic ticket record in the data pool to the request end.
Specifically, the electronic ticket may be an electronic discount price, an electronic coupon, an electronic voucher, or the like, and is sent to the electronic account of the user through the network by the server of the merchant. The data pool may be a redis database for storing electronic ticket records, each electronic ticket and its information constituting an electronic ticket record in the data pool.
The electronic ticket comprises a start time and an end time, wherein the start time and the end time form the valid time of the electronic ticket, the start time of the electronic ticket refers to that the electronic ticket can be used from the time indicated by the start time, and the end time of the electronic ticket refers to that the electronic ticket is invalid, namely cannot be used when the time reaches the time indicated by the end time.
In the above scheme, the electronic ticket records in the data pool are arranged from first to last according to the end time of the electronic ticket. The table is an example of arranging the electronic ticket records in the data pool of the scheme, and as shown in table one, four electronic ticket records are recorded in table one, the sequence number is used for indicating the position of the electronic ticket record in the data pool, and the end times of the four electronic tickets are arranged from first to last.
Watch 1
Serial number Ticket code Starting time End time
1 23TYF11 2018.2.3 2018.4.3
2 23TYF36 2018.1.1 2018.5.1
3 23TYF24 2018.2.9 2018.5.9
4 23TYF13 2018.4.1 2018.7.1
Since the electronic ticket records in the data pool are arranged from first to last according to the end time, the current first electronic ticket record in the ejected data pool is the electronic ticket with the latest end time. The electronic ticket record popped from the data pool disappears from the database, and the server issues the electronic ticket in the electronic ticket record to the request terminal sending the electronic ticket distribution request.
Taking table one as an example, when an electronic ticket distribution request is received, an electronic ticket with a serial number of 1, that is, an electronic ticket with a volume code of "23 TYF 11" is ejected.
In an alternative embodiment, the server deploys a data pool on the server, and the electronic ticket records to be distributed are stored in the data pool, and the data pool sorts the electronic ticket records according to the order of the end time from first to last. When the user terminal requests the electronic ticket, the first electronic ticket record is popped up, and the popped electronic ticket record is distributed to the requesting terminal.
According to the scheme, the electronic tickets are ejected through the data pool for distribution, so that even if the concurrency is high, one electronic ticket is still ejected, the situation that the electronic tickets are repeatedly taken out of the database is avoided, and because the electronic ticket records in the database are sorted from first to last according to the end time, the first electronic ticket record is ejected every time, the electronic ticket with the latest end time can be ensured to be ejected, and the distribution strategy of the electronic ticket is met.
As an alternative embodiment, before distributing the first electronic ticket record in the data pool to the request end, the method further includes: detecting whether the first electronic ticket record is effective; if the first electronic ticket record is effective, the step of distributing the first electronic ticket record in the data pool to the request end is carried out; and if the first electronic ticket record is not effective, acquiring an electronic ticket record from the data pool again.
It is detected whether the ejected electronic ticket record has been validated for determining whether the electronic ticket record is usable, and therefore the determination can be made based on the start time in the electronic ticket record. In the case that the electronic ticket is not yet validated, the electronic ticket ejected this time is not distributed, but the ejection of the first electronic ticket record in the current data pool is continued.
And after the electronic ticket record is popped up again from the data pool, whether the popped electronic ticket record is effective or not is detected, the electronic ticket is distributed to the request end requesting the electronic ticket under the condition that the electronic ticket record is effective, and the electronic ticket record is obtained from the data pool again under the condition that the electronic ticket record is not effective until the electronic ticket record which is effective is popped up. As an alternative embodiment, if the first electronic ticket record is not valid, the method further comprises: and newly adding the first electronic ticket record which is not in effect to the data pool.
The electronic ticket is already out of the warehouse, but the electronic ticket cannot be distributed to the requesting end because the electronic ticket is not valid, and if the electronic ticket is directly discarded, the record of the electronic ticket is lacked, so that the electronic ticket needs to be added to the data pool again.
After the electronic ticket records of the electronic ticket are added to the data pool again, the data pool still sorts according to the end time of the electronic ticket from first to last.
In an alternative embodiment, still referring to table two, in the case that the electronic ticket with serial number 1 is ejected but detected to be not valid, the electronic ticket with serial number 1 is added to the data pool again. Since the end time of the electronic ticket with the serial number 1 is not the latest time, the electronic ticket with the serial number 1 is still ranked first after being added to the data pool again.
As an alternative embodiment, detecting whether the first electronic ticket record has been validated includes: if the current time reaches the starting time of the first electronic ticket, determining that the first electronic ticket is effective; if the current time has not reached the start time of the first electronic ticket, it is determined that the first electronic ticket is not in effect.
The scheme determines whether the electronic ticket is effective according to the starting time of the electronic ticket.
As an optional embodiment, before receiving the electronic ticket distribution request sent by the requesting terminal, the method further includes: generating a data pool comprising electronic coupon records, wherein generating the data pool comprising electronic coupon records comprises: adding the electronic ticket record to a data pool; and performing initialization processing on the electronic ticket records added into the data pool, wherein the initialization processing is used for packaging the electronic ticket records by using the ordered structure by taking the end time of the electronic ticket records as the weight value of the electronic ticket records to obtain the stock object of the data pool.
In an alternative embodiment, when a data pool is constructed, firstly, the number of commodities (i.e. electronic tickets) is set to be n, n records (i.e. electronic ticket records) are newly added in the database, and meanwhile, by using a data structure zset in redis, the electronic ticket records in the data pool are packaged into an inventory object of the data pool, wherein the inventory object contains detailed inventory information (such as ticket codes, start time, end time and the like of the electronic ticket records), and due to the characteristics of zset, the electronic ticket records in the data pool are exported, and the characteristics of zset themselves are explained below.
The redis is an open-source, network-supporting and durable Key-Value database, and the redis _ zset has the characteristic that all elements in an array are sorted according to weight values. Zset (sorted set) of redis is a set of strings, which is not allowed to include repeated members, and is ordered because each member of zset will have a score corresponding to it, i.e. a weight, and data is inserted into zset, and zset will automatically sort the set from small to large by default according to the score. The scheme uses the ending time of the electronic ticket as the weight value of each electronic ticket record, so that the sorting result is from first to last according to the ending time.
The zset structure itself has a pop-up operation that can query the first element and delete it from the array. So that the first electronic ticket record is directly ejected when the electronic ticket distribution request is received.
Example 2
According to an embodiment of the present invention, there is provided an electronic ticket distribution apparatus for implementing the above-described electronic ticket distribution method, and fig. 2 is a schematic view of the electronic ticket distribution apparatus according to the embodiment of the present invention, and as shown in fig. 2, the apparatus includes:
the receiving module 20 is configured to receive an electronic ticket distribution request sent by a requesting end.
An obtaining module 22, configured to obtain a history record of the request end according to the identification information of the request end, where the history record includes: access records of the requesting end and/or transaction records of the requesting end.
And the searching module 24 is used for searching the target electronic ticket matched with the history record of the request end from the candidate electronic tickets, wherein the candidate electronic tickets comprise the electronic tickets corresponding to the electronic ticket distribution main bodies.
And a returning module 26 for returning the target electronic ticket to the requesting terminal.
As an alternative embodiment, in the case that the history record includes an access record of the requester and a transaction record of the requester, the searching module includes: a first acquisition sub-module for acquiring access data in the access record and transaction data in the transaction record of the plurality of electronic ticket distributing bodies; a first determining sub-module for determining scores of the plurality of electronic ticket distributing bodies based on the access data and the transaction data; a second determining submodule for determining the electronic ticket distribution main body with the highest score as the target electronic ticket distribution main body; the third determining submodule is used for determining attribute parameters of the request terminal according to the transaction data in the transaction record; the searching submodule is used for searching the electronic ticket matched with the attribute parameters from the electronic ticket corresponding to the target electronic ticket distributing main body; and the fourth determining submodule is used for determining that the searched electronic ticket is the target electronic ticket.
As an alternative embodiment, the third determination submodule includes: the acquisition unit is used for acquiring the mean value of the transaction data in a preset time period; the floating unit is used for floating the first preset value upwards or floating the second preset value downwards on the basis of the mean value; and the determining unit is used for determining the floated average value as the attribute parameter of the request end.
As an alternative embodiment, the return module comprises: the second obtaining submodule is used for obtaining a first electronic ticket record in a data pool corresponding to the target electronic ticket, wherein the electronic ticket records in the data pool are sorted according to the end time of the electronic ticket from first to last; and the distribution submodule is used for distributing the first electronic ticket record in the data pool to the request end.
As an alternative embodiment, the return module further comprises: the system comprises a data pool, a data processing module and a data processing module, wherein the data pool is used for storing a first electronic ticket record popped up from the data pool; the entry module is used for entering the step of distributing the first electronic ticket record in the data pool to the request end if the first electronic ticket record is effective; and the re-acquisition module is used for re-acquiring one electronic ticket record from the data pool if the electronic ticket record is not effective.
As an alternative embodiment, the apparatus further comprises: and the adding module is used for adding the first electronic ticket record to the data pool again if the first electronic ticket record is not effective.
As an alternative embodiment, the detection module comprises: a first determining sub-module for determining that the first electronic ticket has been validated if the current time has reached the start time of the first electronic ticket; and the second determining submodule is used for determining that the first electronic ticket is not effective if the current time does not reach the starting time of the first electronic ticket.
As an alternative embodiment, the apparatus further comprises: before receiving an electronic ticket distribution request sent by a request end, a generation module is used for generating a data pool comprising electronic ticket records, wherein the generation module comprises: the adding submodule is used for adding the electronic ticket records to a data pool; and the initialization submodule is used for initializing the electronic ticket records added into the data pool, wherein the initialization is used for packaging the electronic ticket records by using the ordered structure by taking the end time of the electronic ticket records as the weight value of the electronic ticket records to obtain the stock object of the data pool.
Example 3
According to an embodiment of the present invention, there is provided a storage medium including a stored program, wherein a device in which the storage medium is located is controlled to execute the distribution method of electronic tickets in embodiment 1 when the program runs.
Example 4
According to an embodiment of the present invention, there is provided a processor for executing a program, wherein the program executes the distribution method of electronic tickets in embodiment 1 when running.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (11)

1. A method for distributing an electronic ticket, comprising:
receiving an electronic ticket distribution request sent by a request end;
acquiring a history record of the request terminal according to the identification information of the request terminal, wherein the history record comprises: the access record of the request terminal and/or the transaction record of the request terminal;
searching a target electronic ticket matched with the history record of the request end from candidate electronic tickets, wherein the candidate electronic tickets comprise electronic tickets corresponding to a plurality of electronic ticket distribution main bodies;
and returning the target electronic ticket to the request end.
2. The method according to claim 1, wherein in the case that the history record includes the access record of the requesting terminal and the transaction record of the requesting terminal, searching for a target electronic ticket matching the history record of the requesting terminal from the candidate electronic tickets, comprises:
acquiring access data of the plurality of electronic ticket distributing bodies in the access record and transaction data in the transaction record;
determining scores of the plurality of electronic ticket distribution bodies from the access data and the transaction data;
determining the electronic ticket distributing main body with the highest score as a target electronic ticket distributing main body;
determining attribute parameters of a request end according to transaction data in the transaction records;
searching the electronic ticket matched with the attribute parameter from the electronic ticket corresponding to the target electronic ticket distributing main body;
and determining the searched electronic ticket as the target electronic ticket.
3. The method of claim 2, wherein determining attribute parameters of a requesting party based on transaction data in the transaction record comprises:
acquiring the mean value of the transaction data in a preset time period;
on the basis of the mean value, floating a first preset value upwards or floating a second preset value downwards;
and determining the floated average value as the attribute parameter of the request end.
4. The method of claim 1, wherein returning the target electronic ticket to the requesting end comprises:
acquiring a first electronic ticket record in a data pool corresponding to a target electronic ticket, wherein the electronic ticket records in the data pool are ordered according to the end time of the electronic ticket from first to last;
and distributing the first electronic ticket record in the data pool to the request end.
5. The method of claim 4, wherein prior to distributing the first electronic coupon record in the data pool to the requestor, the method further comprises:
detecting whether the first electronic ticket record is effective;
if the first electronic ticket record is effective, entering a step of distributing the first electronic ticket record in the data pool to the request end;
and if the first electronic ticket record is not effective, acquiring an electronic ticket record from the data pool again.
6. The method of claim 5, wherein if the first electronic coupon record is not validated, the method further comprises: and newly adding the first electronic ticket record which is not in effect to the data pool.
7. The method of claim 5, wherein detecting whether the first electronic ticket record has been validated comprises:
determining that the first electronic ticket has been validated if the current time has reached the start time of the first electronic ticket;
determining that the first electronic ticket is not in effect if the current time has not reached the start time of the first electronic ticket.
8. The method according to any one of claims 1 to 7, wherein before receiving the electronic ticket distribution request transmitted by the requesting terminal, the method further comprises: generating a data pool comprising electronic coupon records, wherein generating the data pool comprising electronic coupon records comprises:
adding an electronic coupon record to the data pool;
and initializing the electronic ticket records added into the data pool, wherein the initialization is used for packaging the electronic ticket records by using an ordered structure by taking the end time of the electronic ticket records as the weight value of the electronic ticket records to obtain the stock object of the data pool.
9. An electronic ticket dispensing apparatus, comprising:
the receiving module is used for receiving an electronic ticket distribution request sent by a request end;
an obtaining module, configured to obtain a history record of the request end according to the identification information of the request end, where the history record includes: the access record of the request terminal and/or the transaction record of the request terminal;
the searching module is used for searching a target electronic ticket matched with the history record of the request end from candidate electronic tickets, wherein the candidate electronic tickets comprise electronic tickets corresponding to a plurality of electronic ticket distributing main bodies;
and the return module is used for returning the target electronic ticket to the request end.
10. A storage medium characterized by comprising a stored program, wherein a device on which the storage medium is located is controlled to execute the electronic ticket distribution method according to any one of claims 1 to 8 when the program is executed.
11. A processor for executing a program, wherein the program executes to execute the method for distributing electronic tickets according to any one of claims 1 to 8.
CN201811162025.6A 2018-09-30 2018-09-30 Electronic coupon distribution method and device Active CN110969471B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811162025.6A CN110969471B (en) 2018-09-30 2018-09-30 Electronic coupon distribution method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811162025.6A CN110969471B (en) 2018-09-30 2018-09-30 Electronic coupon distribution method and device

Publications (2)

Publication Number Publication Date
CN110969471A true CN110969471A (en) 2020-04-07
CN110969471B CN110969471B (en) 2023-08-25

Family

ID=70029259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811162025.6A Active CN110969471B (en) 2018-09-30 2018-09-30 Electronic coupon distribution method and device

Country Status (1)

Country Link
CN (1) CN110969471B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112163879A (en) * 2020-09-18 2021-01-01 深圳市分期乐网络科技有限公司 User rights pushing method, device, server and storage medium
CN112348578A (en) * 2020-10-27 2021-02-09 口碑(上海)信息技术有限公司 Resource processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003187140A (en) * 2001-12-21 2003-07-04 Codeonline Japan Ltd Sales promotion method, sales promotion system and program
CN105303403A (en) * 2015-10-23 2016-02-03 北京京东尚科信息技术有限公司 Method of issuing coupon and system
CN105678589A (en) * 2016-01-20 2016-06-15 青岛海信智能商用系统有限公司 POS terminal and sale promotion method and system based on POS terminal
CN106056414A (en) * 2016-06-08 2016-10-26 北京众成汇通信息技术有限公司 E-coupon recommendation method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003187140A (en) * 2001-12-21 2003-07-04 Codeonline Japan Ltd Sales promotion method, sales promotion system and program
CN105303403A (en) * 2015-10-23 2016-02-03 北京京东尚科信息技术有限公司 Method of issuing coupon and system
CN105678589A (en) * 2016-01-20 2016-06-15 青岛海信智能商用系统有限公司 POS terminal and sale promotion method and system based on POS terminal
CN106056414A (en) * 2016-06-08 2016-10-26 北京众成汇通信息技术有限公司 E-coupon recommendation method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郑细书: "从电子优惠券谈网络促销手段的发展与创新", 《现代商贸工业》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112163879A (en) * 2020-09-18 2021-01-01 深圳市分期乐网络科技有限公司 User rights pushing method, device, server and storage medium
CN112163879B (en) * 2020-09-18 2024-05-24 深圳市分期乐网络科技有限公司 User rights pushing method, device, server and storage medium
CN112348578A (en) * 2020-10-27 2021-02-09 口碑(上海)信息技术有限公司 Resource processing method and device

Also Published As

Publication number Publication date
CN110969471B (en) 2023-08-25

Similar Documents

Publication Publication Date Title
US20210090120A1 (en) Systems and methods for managing user information over a network
US8918355B2 (en) Determining a meal and/or meal plan
US20200065750A1 (en) Inventory management system and method thereof
TWI670660B (en) Information processing device for issuing coupons, information processing method for issuing coupons, and information processing program products for issuing coupons
US11593827B2 (en) Synergy rules for distributed product or service
TW201638850A (en) Information processing device, information processing method, and information processing program
US20220358467A1 (en) Permissions for retailer types within a marketing system
US20220261848A1 (en) Micro influencer hyperlinking
CN112053212A (en) Commodity group purchase method, commodity group purchase system and electronic equipment
US20190325475A1 (en) Predictive Recommendation System Using Tiered Feature Data
WO2017119952A1 (en) Consumer decision tree generation system
US20070179837A1 (en) Method of assessing consumer preference tendencies based on a user's own correlated information
CN110969471A (en) Electronic ticket distribution method and device
CN108140206A (en) The system and method for carrying out precision marketing are shared based on data, gift and logistics
WO2014195761A1 (en) Buyer-driven online push advertising platform for e-commerce
JP2005085222A (en) Article sales promoting system

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