CN112184310A - Offline electronic ticket distribution method, device, equipment and storage medium - Google Patents

Offline electronic ticket distribution method, device, equipment and storage medium Download PDF

Info

Publication number
CN112184310A
CN112184310A CN202011036105.4A CN202011036105A CN112184310A CN 112184310 A CN112184310 A CN 112184310A CN 202011036105 A CN202011036105 A CN 202011036105A CN 112184310 A CN112184310 A CN 112184310A
Authority
CN
China
Prior art keywords
electronic ticket
dimensional code
information
identity information
code generation
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.)
Pending
Application number
CN202011036105.4A
Other languages
Chinese (zh)
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.)
China Construction Bank Corp
Original Assignee
CCB Finetech 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 CCB Finetech Co Ltd filed Critical CCB Finetech Co Ltd
Priority to CN202011036105.4A priority Critical patent/CN112184310A/en
Publication of CN112184310A publication Critical patent/CN112184310A/en
Pending legal-status Critical Current

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
    • G06Q30/0236Incentive or reward received by requiring registration or ID from user
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • 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/0222During e-commerce, i.e. online transactions
    • 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/0235Discounts or incentives, e.g. coupons or rebates constrained by time limit or expiration date

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses an off-line electronic ticket dispatching method, device, equipment and storage medium. The method comprises the following steps: receiving a two-dimensional code generation request sent by a first terminal and judging whether the two-dimensional code generation permission exists or not; if the two-dimension code has the two-dimension code generation authority, generating and returning the two-dimension code, and configuring an expiration date and an amount for the two-dimension code; receiving an electronic coupon getting request sent by a second terminal through scanning the two-dimensional code and judging whether the two-dimensional code is in the validity period and the amount is more than 0; if the two-dimension code is in the validity period and the amount is larger than 0, judging whether the user identity information has the receiving authority; if the electronic ticket has the receiving authority, generating and returning an electronic ticket receiving entrance; and when the triggering of the electronic ticket getting inlet is detected, generating and returning the electronic ticket, and finishing the distribution of the electronic ticket. The embodiment of the invention can realize effective management of the electronic ticket distribution authority, high-efficiency and automatic management of the background on the related data and online and offline synchronous development of customers.

Description

Offline electronic ticket distribution method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to an off-line electronic ticket distribution method, device, equipment and storage medium.
Background
At present, electronic coupons of an e-commerce platform are mainly distributed in an online mode and an offline mode. The online distribution mode usually requires the user to actively enter a certain activity webpage for getting, and can only complete the whole flow online, and cannot become an offline customer-obtaining tool. The offline distribution mode is more flexible in application scene and is suitable for enterprises of offline business outlets and online business platforms.
However, in the prior art, the off-line distribution mode of the electronic ticket is generally difficult to manage, and the characteristic that the user can walk after getting the electronic ticket leads to short product life chain, cannot promote the development of other services, and lacks the on-line and off-line combined marketing means of enterprises. In addition, in the existing offline electronic ticket distribution activities, an efficient and automatic method for managing data related to the electronic ticket distribution condition by enterprises is also lacking.
Disclosure of Invention
The embodiment of the invention provides an off-line electronic coupon dispatching method, device, equipment and storage medium, wherein the effective management of the electronic coupon dispatching authority is realized by configuring the expiration date and the limit for a coupon dispatching two-dimensional code in advance; the high-efficiency and automatic management of the background on the related data is realized by monitoring and synchronously updating the electronic coupon distribution condition in real time; and the online and offline synchronous development of customers is realized by binding the electronic ticket and the ticket receiving user.
In a first aspect, an embodiment of the present invention provides an offline electronic ticket distribution method, including:
receiving a two-dimensional code generation request sent by a first terminal, and judging whether the two-dimensional code generation request has a two-dimensional code generation permission, wherein the two-dimensional code generation request comprises project identification information and identity information of marketing personnel;
if the two-dimension code generation request has the two-dimension code generation permission, generating a two-dimension code corresponding to the two-dimension code generation request, returning the two-dimension code to the first terminal, establishing a first corresponding relation among the item identification information, the identity information of the marketing personnel and the two-dimension code, and configuring an effective period and a limit for the two-dimension code according to the first corresponding relation;
receiving an electronic coupon getting request sent by a second terminal through scanning the two-dimensional code, and judging whether the two-dimensional code is in the validity period and the amount is more than 0, wherein the electronic coupon getting request comprises user identity information;
if the two-dimension code is in the validity period and the amount is larger than 0, judging whether the user identity information has the drawing authority;
if the user identity information has the getting permission, generating an electronic ticket getting entrance corresponding to the electronic ticket getting request and returning the electronic ticket getting entrance to the second terminal;
and when the triggering of the electronic ticket getting entrance is detected, generating the electronic ticket corresponding to the electronic ticket getting request and returning the electronic ticket to the second terminal, establishing a second corresponding relation between the user identity information and the electronic ticket, and finishing the distribution of the electronic ticket.
In a second aspect, an embodiment of the present invention further provides an offline electronic ticket distribution device, including:
the system comprises a generation request receiving module, a two-dimension code generation module and a marketing staff identification information generating module, wherein the generation request receiving module is used for receiving a two-dimension code generation request sent by a first terminal and judging whether the two-dimension code generation request has a two-dimension code generation permission or not, and the two-dimension code generation request comprises item identification information and marketing staff identification information;
the two-dimension code generation module is used for generating a two-dimension code corresponding to the two-dimension code generation request and returning the two-dimension code to the first terminal if the two-dimension code generation request has the two-dimension code generation permission, establishing a first corresponding relation among the item identification information, the marketing personnel identity information and the two-dimension code, and configuring an effective period and a limit for the two-dimension code according to the first corresponding relation;
the receiving module is used for receiving an electronic coupon receiving request sent by a second terminal through scanning the two-dimensional code, judging whether the two-dimensional code is in the validity period and the amount is greater than 0, wherein the electronic coupon receiving request comprises user identity information;
the receiving authority judging module is used for judging whether the user identity information has receiving authority or not if the two-dimensional code is in the validity period and the amount is more than 0;
a receiving entrance generating module, configured to generate an electronic ticket receiving entrance corresponding to the electronic ticket receiving request and return the electronic ticket receiving entrance to the second terminal if the user identity information has a receiving right;
and the electronic ticket generating module is used for generating an electronic ticket corresponding to the electronic ticket getting request and returning the electronic ticket to the second terminal when the electronic ticket getting entrance is detected to be triggered, and establishing a second corresponding relation between the user identity information and the electronic ticket to finish the distribution of the electronic ticket.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor, when executing the computer program, implements the electronic ticket offline distribution method according to the embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the electronic ticket offline distribution method according to the embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, the effective management of the electronic coupon distribution authority is realized by configuring the expiration date and the limit for the coupon distribution two-dimensional code in advance; the high-efficiency and automatic management of the background on the related data is realized by monitoring and synchronously updating the electronic coupon distribution condition in real time; and the online and offline synchronous development of customers is realized by binding the electronic ticket and the ticket receiving user.
Drawings
Fig. 1 is a flowchart of an offline electronic ticket distribution method according to an embodiment of the present invention.
Fig. 2 is a flowchart of an offline electronic ticket distribution method according to a second embodiment of the present invention.
Fig. 3 is a schematic structural diagram of an offline electronic ticket distribution device according to a third embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of an offline electronic ticket distribution method according to an embodiment of the present invention. The embodiment of the invention can be suitable for the condition of sending the electronic ticket off line and managing the related data of the electronic ticket sending condition, and the method can be executed by the electronic ticket sending device provided by the embodiment of the invention, and the device can be realized by adopting a software and/or hardware mode and can be generally integrated in computer equipment. Such as a cloud platform. As shown in fig. 1, the method of the embodiment of the present invention specifically includes:
step 101, receiving a two-dimensional code generation request sent by a first terminal, and judging whether the two-dimensional code generation request has a two-dimensional code generation permission, wherein the two-dimensional code generation request comprises project identification information and identity information of marketing personnel.
The first terminal can be a mobile phone, a computer or any other electronic terminal equipment which is responsible for sending the electronic ticket off line, can be used by a marketer, comprises a display device, can display the two-dimensional code and can communicate with the cloud platform, and is not limited. The first terminal can be controlled to send the two-dimensional code generation request through the corresponding use operation of the marketer.
The two-dimensional code generation request comprises item identification information and identity information of marketers. The item identification information may be an item name, an item number, or any other information that can uniquely identify an item, and is not limited. The project can be any off-line electronic ticket distribution project, can be established in advance by related workers, and sets marketers responsible for off-line electronic ticket distribution, the number of distributable electronic tickets, the denomination and the like in the project. The identity information of the marketing staff can be the name, the job number or any other information which can uniquely identify the marketing staff, and is not limited. The item identification information and the identity information of the marketing staff can be obtained by selection or input operation of the marketing staff on the first terminal, can also be obtained by identifying the item identification information and the identity information of the marketing staff corresponding to the first equipment, and can also be displayed to the marketing staff through the first equipment after identifying the item identification information and the identity information of the marketing staff corresponding to the first equipment, and the item identification information and the identity information of the marketing staff are obtained through confirmation operation of the marketing staff without limitation. The two-dimensional code generation request can also comprise the number and/or the denomination of the electronic coupons which can be obtained by scanning the two-dimensional code and are set by the marketer according to needs and input by the first terminal.
And judging whether the two-dimensional code generation request has the two-dimensional code generation permission or not, and judging whether the marketer corresponding to the marketer identity information belongs to the marketer in the item corresponding to the item identity information or not according to the item identity information and the marketer identity information in the two-dimensional code generation request.
102, if the two-dimension code generation request has a two-dimension code generation permission, generating a two-dimension code corresponding to the two-dimension code generation request, returning the two-dimension code to the first terminal, establishing a first corresponding relation among the item identification information, the identity information of the marketing personnel and the two-dimension code, and configuring an effective period and a limit for the two-dimension code according to the first corresponding relation.
The two-dimensional code generation request can be judged to have the two-dimensional code generation permission according to the fact that the marketing staff identified by the identity information of the marketing staff belong to the marketing staff who works in the project identified by the project identification information or have the distribution permission of the electronic coupon in the project.
The two-dimensional code corresponding to the two-dimensional code generation request can be used for receiving the electronic coupons in the items identified by the item identification information in the two-dimensional code generation request by scanning the two-dimensional code, and when the two-dimensional code generation request comprises the number and/or the denomination of the electronic coupons required by marketers and obtained by scanning the two-dimensional code, the electronic coupons with the maximum number and/or the denomination can be received by scanning the two-dimensional code. And after the two-dimensional code corresponding to the two-dimensional code generation request is generated and returned to the first terminal, a display device in the first terminal displays the two-dimensional code.
The first corresponding relation among the item identification information, the marketing personnel identification information and the two-dimension code is established, the item identification information, the marketing personnel identification information and the two-dimension code identification information can be correspondingly stored on a cloud platform, and the two-dimension code identification information can be two-dimension code numbers, two-dimension code addresses or other information for uniquely identifying the two-dimension code.
Configuring the two-dimensional code with an expiration date and an amount according to the first corresponding relationship, wherein in the first corresponding relationship, the expiration date of the item identified by the item identification information corresponding to the two-dimensional code is configured as the expiration date of the two-dimensional code, and the amount of the electronic coupon which can be controlled by the marketer identified by the marketer identification information corresponding to the two-dimensional code is configured as the amount of the two-dimensional code, or when the two-dimensional code generation request includes the number and/or the denomination of the electronic coupon which can be obtained by scanning the two-dimensional code and is required by the marketer, configuring the number and/or the denomination as the amount of the two-dimensional code.
Optionally, the amount includes an electronic ticket quantity amount and/or an electronic ticket face value amount.
The electronic ticket quantity limit is the upper limit of the number of the electronic tickets which can be obtained by scanning the two-dimensional code, and the electronic ticket face value limit is the maximum limit which can be possessed by each electronic ticket obtained by scanning the two-dimensional code. The amount type configured for the two-dimensional code can be determined according to project requirements and electronic ticket types, for example, when the electronic ticket to be distributed is a purchase qualification certificate or a discount ticket, the electronic ticket amount can be configured for the two-dimensional code, and when the electronic ticket to be distributed is a voucher or a red packet, the electronic ticket amount and the electronic ticket face value amount can be configured for the two-dimensional code.
Step 103, receiving an electronic coupon getting request sent by the second terminal through scanning the two-dimensional code, and judging whether the two-dimensional code is in the validity period and the amount is greater than 0, wherein the electronic coupon getting request comprises user identity information.
The second terminal may be a mobile phone, a tablet computer, or any other electronic terminal device that can be used by a user, has a function of scanning the two-dimensional code, and can communicate with the cloud platform, which is not limited. After the user uses the second terminal to successfully scan the two-dimensional code, the second terminal can send an electronic ticket getting request to the cloud platform.
The electronic ticket getting request comprises user identity information. The user identity information may be a user account number logged in at the second terminal when the user scans the two-dimensional code, a communication number or a user certificate number input by the user through the second terminal, identification information of the second terminal used by the user to scan the two-dimensional code, or any other information capable of uniquely identifying the user, without limitation.
And judging whether the two-dimension code is in the validity period, wherein the judgment can be to judge whether the time for scanning the two-dimension code by the second terminal is in the validity period of the two-dimension code. And judging whether the amount of the two-dimensional code is greater than 0, wherein the judgment can be to judge whether the number and/or the denomination of the two-dimensional code in the amount of the current time is greater than 0. Optionally, when the amount includes an electronic ticket quantity amount and/or an electronic ticket face value amount, whether the amount of the two-dimensional code is greater than 0 is judged, and whether the electronic ticket quantity amount and/or the electronic ticket face value amount are greater than 0 may be judged.
And step 104, if the two-dimensional code is in the validity period and the limit is larger than 0, judging whether the user identity information has the picking authority.
The two-dimensional code is in the valid period, which indicates that the two-dimensional code is still valid, i.e. the item corresponding to the two-dimensional code is still valid. The fact that the two-dimensional code limit is larger than 0 can indicate that the electronic coupons with the limit value number and/or the denomination can still be picked up by scanning the two-dimensional code, namely, the marketer corresponding to the two-dimensional code can still continuously distribute the electronic coupons in the item.
And judging whether the user identity information has the picking-up authority, wherein the user account is judged to have the picking-up authority when the user identity information is a user account which is logged in by a second terminal when the user scans the two-dimensional code, and the user account is judged not to have the picking-up authority when the user identity information is information of any other unique identification user instead of the logged-in user account.
And 105, if the user identity information has the getting permission, generating an electronic ticket getting entrance corresponding to the electronic ticket getting request and returning the electronic ticket getting entrance to the second terminal.
The electronic ticket getting entrance can be any realizable form such as an electronic ticket getting website link, an electronic ticket getting two-dimensional code or an electronic ticket getting page and the like. The electronic ticket getting entrance returns to the second terminal and can be provided for the user through the second terminal.
Optionally, the electronic ticket getting entry is an electronic ticket getting page, and the page includes an electronic ticket getting key and a content display module. And the electronic ticket obtaining page is displayed to the user through the display device of the second terminal. The user can receive the electronic ticket by clicking the electronic ticket receiving key. The content presentation module may present to the user pre-generated promotion information of the item and the reception and usage rules of the electronic ticket, etc.
And 106, when the electronic ticket getting entrance is detected to be triggered, generating the electronic ticket corresponding to the electronic ticket getting request and returning the electronic ticket to the second terminal, establishing a second corresponding relation between the user identity information and the electronic ticket, and finishing the distribution of the electronic ticket.
The method for triggering the electronic ticket getting entry by the user may be a method described in a trigger rule predetermined according to the form of the electronic ticket getting entry, and is not limited. For example, when the electronic ticket getting entry is a website link, the user may click the link to complete triggering, when the electronic ticket getting entry is a two-dimensional code, the user may complete triggering by scanning or recognizing the two-dimensional code, and when the electronic ticket getting entry is a page and a getting button is provided on the page, the user may click the getting button to complete triggering.
The electronic ticket is returned to the second terminal and can be provided to the user for use or storage through the second terminal. The electronic ticket can be in any realizable form such as a code or a code integrated with a picture.
And establishing a second corresponding relation between the user identity information and the electronic ticket, and correspondingly storing the user account number, the user communication number, the user information associated with the user account number and the electronic ticket identification information which may be included in the user identity information in a cloud platform so as to monitor the use condition of the electronic ticket by the user in real time. The electronic ticket identification information may be information that uniquely identifies the electronic ticket, such as an electronic ticket number or an electronic ticket code.
The embodiment of the invention provides an off-line issuing method of an electronic ticket, which realizes effective management of an electronic ticket issuing authority by configuring an expiration date and an amount for an electronic ticket issuing two-dimensional code in advance; the high-efficiency and automatic management of the background on the related data is realized by monitoring and synchronously updating the electronic coupon distribution condition in real time; and the online and offline synchronous development of customers is realized by binding the electronic ticket and the ticket receiving user.
Optionally, after the step 104 of determining whether the user identity information has the right to receive, the method further includes: and if the user identity information does not have the picking authority, returning to a user registration entrance or a user login entrance.
The user account does not have the picking-up authority, and the user identity information can be any other information which uniquely identifies the user, but not the logged-in user account. The user registration entry and the user login entry can be simultaneously provided for the user to select, the user registration entry or the user login entry can be preferentially provided, and switching can be performed according to the user requirements.
According to the embodiment, the registration or login entrance is provided for the user without the getting permission, so that the user can conveniently and quickly realize registration or login after scanning the two-dimensional code, the user experience is improved, the electronic ticket getting flow is simplified, and the electronic ticket distribution success rate and efficiency are improved.
Optionally, in step 106, the generating an electronic ticket corresponding to the electronic ticket getting request and returning the electronic ticket to the second terminal, establishing a second corresponding relationship between the user identity information and the electronic ticket, and after the electronic ticket is distributed, the method further includes: establishing a third corresponding relation between the two-dimension code and the electronic ticket; and updating the limit of the two-dimensional code according to the third corresponding relation.
And establishing a third corresponding relation between the two-dimension code and the electronic ticket, and correspondingly storing the two-dimension code identification information and the electronic ticket identification information in a cloud platform.
Optionally, the updating the quota of the two-dimensional code according to the third corresponding relationship includes: and when the electronic ticket is detected to be successfully generated and returned to the second terminal, reducing the quota of the two-dimensional code corresponding to the electronic ticket by the quota value corresponding to the electronic ticket.
When the electronic ticket is successfully generated and returned, the electronic ticket can be shown to be picked up, and the marketer completes the distribution of the electronic ticket. The amount corresponding to the electronic ticket may be the number and/or the denomination of the electronic ticket, for example, when the electronic ticket is a purchase qualification certificate or a discount ticket, and the amount corresponding to each electronic ticket is 1, if the electronic ticket is successfully generated and returned to the second terminal, the amount of the two-dimensional code corresponding to the electronic ticket is reduced from n to n-1; when the electronic ticket is a voucher or a red packet, the amount corresponding to each electronic ticket is the amount of the voucher or the red packet, and when the amount is m yuan, the electronic ticket is successfully generated and returned to the second terminal, and the amount of the two-dimensional code corresponding to the electronic ticket is reduced from n yuan to n-m yuan.
According to the embodiment, the two-dimension code is associated with the electronic ticket obtained by scanning the two-dimension code, the limit of the two-dimension code is monitored in real time and updated in time, the electronic ticket is prevented from being excessively distributed, and high-efficiency and automatic management of electronic ticket distribution data is realized.
Optionally, in step 106, the generating an electronic ticket corresponding to the electronic ticket getting request and returning the electronic ticket to the second terminal, establishing a second corresponding relationship between the user identity information and the electronic ticket, and after the electronic ticket is distributed, the method further includes: when an electronic ticket use request generated by triggering the electronic ticket is detected, judging whether the user identity information in the electronic ticket use request corresponds to the electronic ticket according to the second corresponding relation; and if the user identity information in the electronic ticket using request corresponds to the electronic ticket, returning to the electronic ticket using entrance.
The method for triggering the electronic ticket by the user may be a method described in a trigger rule predetermined according to the form of the electronic ticket, and may be any realizable method such as clicking any position of the electronic ticket, clicking a use button in a page of the electronic ticket, copying a code of the electronic ticket, and filling in a corresponding position of the use page. And judging whether the user identity information in the electronic ticket using request corresponds to the electronic ticket according to the second corresponding relation so as to judge whether the user who triggers and uses the electronic ticket is the user who has the getting right and gets the electronic ticket. And if the user identity information in the electronic ticket using request corresponds to the electronic ticket, returning to the electronic ticket using entrance, so that the electronic ticket can be used only by the user who has the picking authority and picks the electronic ticket through the electronic ticket using entrance.
According to the embodiment, the electronic ticket can be ensured to be only used by the user who receives the electronic ticket through identifying the user identity requesting to use the electronic ticket, the standardization and the automatic management of the ticket dispatching and the ticket using are realized, the electronic ticket using entrance is directly triggered through the electronic ticket, the electronic ticket is obtained and connected with the using process, the using convenience of the electronic ticket is improved, the user experience is improved, the user can be promoted to use the electronic ticket in time, and online and offline synchronous customer obtaining is realized.
Optionally, the method further includes: and recording the use state of the electronic ticket.
Wherein the usage status includes received, used and expired. When the electronic ticket is successfully generated and returned to the second terminal, recording the use state of the electronic ticket as being received; when the electronic ticket is triggered and successfully returns to the electronic ticket use entrance, the use state record of the electronic ticket is updated to be used; and when the validity period of the electronic ticket is exceeded, updating the use state record of the electronic ticket to be expired, wherein the validity period of the electronic ticket can be the validity period of the two-dimensional code corresponding to the electronic ticket or the validity period of the electronic ticket set when the electronic ticket is generated.
The implementation mode realizes the further statistics and management of the electronic ticket distribution condition by recording the electronic ticket service state, is convenient for enterprises to know the user ticket getting and ticket using preference through the electronic ticket distribution condition and the service state, know the online and offline customer obtaining effect of the offline electronic ticket distribution, and perform perfect statistics and management on the marketing personnel ticket distribution performance.
Example two
Fig. 2 is a flowchart of a method according to a second embodiment of the present invention. In this embodiment of the present invention, before the receiving a two-dimensional code generation request sent by a first terminal and determining whether the two-dimensional code generation request has a two-dimensional code generation permission, the method may further include: establishing at least one project group, and configuring project information and marketing personnel information for each project group; the project information comprises project validity periods and project total limits; the marketing personnel information comprises marketing personnel identity information and marketing personnel personal quota.
As shown in fig. 2, the method of the embodiment of the present invention specifically includes:
step 201, establishing at least one project group, and configuring project information and marketing personnel information for each project group.
The project information comprises project validity periods and project total limits; the marketing personnel information comprises marketing personnel identity information and marketing personnel personal quota.
Each item group corresponds to an electronic coupon offline distribution item and unique item identification information, and the item identification information corresponding to the item group, the item information configured by the item group and marketing personnel information are stored in the cloud platform correspondingly.
The item information is information for distributing the items off line for the electronic coupons corresponding to the item groups. The project validity period includes the start time and end time of the project, and may be accurate to days, hours, or any other unit of time. The total amount of the item may be the total number of the electronic ticket and/or the total amount of the electronic ticket provided by the item host.
The marketing personnel information comprises the marketing personnel responsible for the offline electronic coupon work in the offline electronic coupon dispatching items corresponding to the item groups. The marketer identity information can uniquely identify each marketer, and can be the name or the job number of the marketer, for example. The personal quota of the marketer is the number of the electronic coupons and/or the upper limit of the denomination of the electronic coupons which can be distributed by each marketer, can be set when establishing item groups and configuring information of the marketers, and can also be reset during the distribution of the electronic coupons.
202, receiving a two-dimensional code generation request sent by a first terminal, and judging whether the two-dimensional code generation request has a two-dimensional code generation permission, wherein the two-dimensional code generation request comprises project identification information and identity information of marketing personnel.
Optionally, the determining whether the two-dimensional code generation request has a two-dimensional code generation permission includes: acquiring a project group corresponding to the project identification information in the two-dimensional code generation request, and the project information and the marketing staff information of the project group; judging whether the project is in the project validity period and the project total amount is available according to the project information; if the item is in the term of validity and the total limit of the item is available, judging whether the marketing personnel information comprises the identity information of the marketing personnel in the two-dimensional code generation request; if the marketing person information comprises the marketing person identity information in the two-dimensional code generation request, judging whether the marketing person personal amount corresponding to the marketing person identity information is available; and if the personal limit of the marketing personnel corresponding to the identity information of the marketing personnel is available, the two-dimension code generation request has the two-dimension code generation permission.
Wherein, in the term of validity of the item, it can be said that the electronic coupon is being sent to the item online, and the electronic coupon in the item can be sent. The total amount of the project is available, which can indicate that the number of distributed electronic coupons and/or the total amount of the electronic coupons in the project do not exceed the total number of distributed electronic coupons and/or the total amount of the electronic coupons provided by the project host, and the state of the project is normal. Optionally, the total amount of the project can be set to be in an abnormal state as required within the validity period of the project, so that the electronic ticket distribution in the project is suspended.
The marketing staff information comprises the identity information of the marketing staff in the two-dimensional code generation request, and can indicate that the marketing staff requesting to generate the two-dimensional code belongs to the staff of the project and can serve the electronic ticket in the project. The marketer's personal amount is available, and it can be described that the number of distributed electronic coupons and/or total denomination of the marketer do not exceed the number of electronic coupons capable of being distributed and/or the upper limit of denomination, and the working state of the marketer is normal. Optionally, the individual quota of the marketer can be set to be in an abnormal state as required in the valid period of the project so as to suspend the electronic ticket distribution work of the marketer.
Optionally, the marketer information further includes: marketing personnel area information; the two-dimensional code generation request further includes: current region information; the judging whether the marketing personnel information comprises the marketing personnel identity information in the two-dimensional code generation request further comprises: and judging whether the marketing person area information in the marketing person information comprises the current area information in the two-dimensional code generation request.
The marketer area information is an offline coupon area which needs to be responsible for the work of the marketer, and may be an administrative division, a coordinate range or a certain distance range near an enterprise marketing point, for example. The current area information is the position of the first terminal sending the two-dimensional code generation request, and can be obtained through positioning information in the first terminal or any other realizable method. The marketer area information comprises current area information which can indicate that the marketer can send coupons in the area. The implementation mode realizes the management of the coupon dispatching places of the marketers, and facilitates the distribution of the coupon dispatching work in different areas.
And 203, if the two-dimension code generation request has a two-dimension code generation permission, generating a two-dimension code corresponding to the two-dimension code generation request, returning the two-dimension code to the first terminal, establishing a first corresponding relation among the item identification information, the identity information of the marketing personnel and the two-dimension code, and configuring an effective period and a limit for the two-dimension code according to the first corresponding relation.
Optionally, configuring an expiration date and a limit for the two-dimensional code according to the first correspondence includes: acquiring project identification information corresponding to the two-dimensional code according to the first corresponding relation; configuring the project validity period in the project identification information as the validity period of the two-dimensional code; acquiring identity information of a marketing person corresponding to the two-dimensional code according to the first corresponding relation; and configuring the personal quota of the marketing personnel corresponding to the identity information of the marketing personnel as the quota of the two-dimensional code.
And 204, receiving an electronic ticket getting request sent by the second terminal through scanning the two-dimensional code, and judging whether the two-dimensional code is in the validity period and the amount is more than 0, wherein the electronic ticket getting request comprises user identity information.
Step 205, if the two-dimensional code is in the validity period and the amount is greater than 0, determining whether the user identity information has the right of getting.
And step 206, if the user identity information has the getting permission, generating an electronic ticket getting entrance corresponding to the electronic ticket getting request and returning the electronic ticket getting entrance to the second terminal.
And step 207, when the electronic ticket getting entrance is detected to be triggered, generating the electronic ticket corresponding to the electronic ticket getting request and returning the electronic ticket to the second terminal, establishing a second corresponding relation between the user identity information and the electronic ticket, and finishing the distribution of the electronic ticket.
The specific implementation of the above steps may refer to the implementation of the corresponding steps provided in the first embodiment, which is not described herein again.
The embodiment of the invention provides an off-line electronic coupon dispatching method, which realizes efficient and standard management of project information and project workers by establishing project groups, and realizes effective management of electronic coupon dispatching authority by configuring valid period and limit for a coupon dispatching two-dimensional code in advance; the high-efficiency and automatic management of the background on the related data is realized by monitoring and synchronously updating the electronic coupon distribution condition in real time; and the online and offline synchronous development of customers is realized by binding the electronic ticket and the ticket receiving user.
Optionally, in step 207, generating an electronic ticket corresponding to the electronic ticket getting request and returning the electronic ticket to the second terminal, establishing a second correspondence between the user identity information and the electronic ticket, and after the electronic ticket is distributed, the method further includes: establishing a third corresponding relation between the two-dimension code and the electronic ticket; updating the amount of the two-dimensional code according to the third corresponding relation; acquiring item identification information and identity information of marketing personnel corresponding to the two-dimensional code according to the first corresponding relation; acquiring a project group corresponding to the project identification information, and project information and marketing staff information of the project group; and updating the total amount of the items in the item information and the personal amount of the marketer corresponding to the identity information of the marketer in the marketer information.
Optionally, the updating the quota of the two-dimensional code according to the third corresponding relationship includes: and when the electronic ticket is detected to be successfully generated and returned to the second terminal, reducing the quota of the two-dimensional code corresponding to the electronic ticket by the quota value corresponding to the electronic ticket.
And the total item amount and the updated reduction value of the personal amount of the marketing personnel are the amount corresponding to the electronic ticket.
The implementation mode synchronously updates the electronic ticket distribution condition to the project information and the marketing personnel information, so that the background staff can conveniently know the project progress and the distribution performance of the marketing personnel, and the high-efficiency and automatic management of the electronic ticket distribution data is further realized.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an apparatus according to a third embodiment of the present invention, as shown in fig. 3, the apparatus includes: a generation request receiving module 301, a two-dimensional code generating module 302, a pickup request receiving module 303, a pickup authority judging module 304, a pickup entry generating module 305, and an electronic ticket generating module 306.
The generation request receiving module 301 is configured to receive a two-dimensional code generation request sent by a first terminal, and determine whether the two-dimensional code generation request has a two-dimensional code generation permission, where the two-dimensional code generation request includes item identification information and marketing staff identity information.
The two-dimension code generation module 302 is configured to generate a two-dimension code corresponding to the two-dimension code generation request and return the two-dimension code to the first terminal if the two-dimension code generation request has a two-dimension code generation permission, establish a first corresponding relationship among the item identification information, the identity information of the marketing staff and the two-dimension code, and configure an expiration date and a limit for the two-dimension code according to the first corresponding relationship.
And the getting request receiving module 303 is configured to receive an electronic ticket getting request sent by the second terminal by scanning the two-dimensional code, and determine whether the two-dimensional code is in an expiration date and the amount is greater than 0, where the electronic ticket getting request includes user identity information.
And the receiving authority judgment module 304 is configured to judge whether the user identity information has the receiving authority or not if the two-dimensional code is in the validity period and the amount is greater than 0.
And a receiving entrance generating module 305, configured to generate an electronic ticket receiving entrance corresponding to the electronic ticket receiving request and return the electronic ticket receiving entrance to the second terminal if the user identity information has a receiving right.
And the electronic ticket generating module 306 is configured to generate an electronic ticket corresponding to the electronic ticket getting request and return the electronic ticket to the second terminal when detecting that the electronic ticket getting entry is triggered, establish a second corresponding relationship between the user identity information and the electronic ticket, and complete distribution of the electronic ticket.
The embodiment of the invention provides an off-line electronic coupon dispatching device, which can realize effective management of electronic coupon dispatching authority by configuring the expiry date and limit for a coupon dispatching two-dimensional code in advance; the high-efficiency and automatic management of the background on the related data is realized by monitoring and synchronously updating the electronic coupon distribution condition in real time; and the online and offline synchronous development of customers is realized by binding the electronic ticket and the ticket receiving user.
In an optional implementation of the embodiment of the present invention, the apparatus further comprises: the system comprises a project grouping establishing module, a marketing personnel information acquiring module and a project grouping establishing module, wherein the project grouping establishing module is used for establishing at least one project grouping and configuring project information and marketing personnel information for each project grouping; the project information comprises project validity periods and project total limits; the marketing personnel information comprises marketing personnel identity information and marketing personnel personal quota.
In an optional implementation manner of the embodiment of the present invention, on the basis of the above implementation manner, the generation request receiving module 301 further includes: the grouping information acquisition submodule is used for acquiring the item grouping corresponding to the item identification information in the two-dimensional code generation request, and the item information and the marketing staff information of the item grouping; the project information judgment submodule is used for judging whether the project is in the project validity period and the project total amount is available according to the project information; the identity information judgment submodule is used for judging whether the marketing personnel information comprises the marketing personnel identity information in the two-dimensional code generation request if the item validity period is reached and the item total amount is available; the personal limit judgment sub-module is used for judging whether the personal limit of the marketing personnel corresponding to the identity information of the marketing personnel is available or not if the marketing personnel information comprises the identity information of the marketing personnel in the two-dimensional code generation request; and the authority configuration submodule is used for enabling the two-dimension code generation request to have two-dimension code generation authority if the personal limit of the marketing personnel corresponding to the identity information of the marketing personnel is available.
In an optional implementation manner of the embodiment of the present invention, on the basis of the implementation manner, the marketer information further includes: marketing personnel area information; the two-dimensional code generation request further includes: current region information; the identity information judgment submodule is specifically configured to judge whether marketing person area information in the marketing person information includes current area information in the two-dimensional code generation request.
In an optional implementation manner of the embodiment of the present invention, on the basis of the above implementation manner, the two-dimensional code generating module 302 further includes: the project information acquisition submodule is used for acquiring project identification information corresponding to the two-dimensional code according to the first corresponding relation; the validity period configuration submodule is used for configuring the validity period of the item in the item identification information into the validity period of the two-dimensional code; the identity information acquisition submodule is used for acquiring the identity information of the marketing personnel corresponding to the two-dimensional code according to the first corresponding relation; and the quota configuration submodule is used for configuring the personal quota of the marketing person corresponding to the identity information of the marketing person into the quota of the two-dimensional code.
In an optional implementation of the embodiment of the present invention, the apparatus further comprises: the first limit updating module is used for establishing a third corresponding relation between the two-dimensional code and the electronic ticket; and updating the limit of the two-dimensional code according to the third corresponding relation.
In an optional implementation manner of the embodiment of the present invention, on the basis of the implementation manner, the apparatus further includes: the second limit updating module is used for acquiring the item identification information and the identity information of the marketing staff corresponding to the two-dimensional code according to the first corresponding relation; acquiring a project group corresponding to the project identification information, and project information and marketing staff information of the project group; and updating the total amount of the items in the item information and the personal amount of the marketer corresponding to the identity information of the marketer in the marketer information.
In an optional implementation manner of the embodiment of the present invention, on the basis of the implementation manner, the first quota updating module is specifically configured to reduce, when it is detected that the electronic ticket is successfully generated and returned to the second terminal, a quota of the two-dimensional code corresponding to the electronic ticket by a quota value corresponding to the electronic ticket.
In an optional implementation manner of the embodiment of the present invention, the quota includes: the electronic ticket quantity limit and/or the electronic ticket face value limit.
In an optional implementation of the embodiment of the present invention, the apparatus further comprises: the triggering request judging module is used for judging whether the user identity information in the electronic ticket using request corresponds to the electronic ticket according to the second corresponding relation when the electronic ticket using request generated by triggering the electronic ticket is detected; and the use entrance returning module is used for returning the electronic ticket use entrance if the user identity information in the electronic ticket use request corresponds to the electronic ticket.
In an optional implementation of the embodiment of the present invention, the apparatus further comprises: and the use state recording module is used for recording the use state of the electronic ticket.
In an optional implementation manner of the embodiment of the present invention, after the module 304 for determining picking permission is used, the apparatus further includes: and the account entry returning module is used for returning to a user registration entry or a user login entry if the user identity information does not have the getting permission.
The device can execute the electronic ticket offline dispatching method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the electronic ticket offline dispatching method.
Example four
Fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 4 is only one example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 4, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors 16, a memory 28, and a bus 18 that connects the various system components (including the memory 28 and the processors 16).
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, computer device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with the other modules of computer device 12 via bus 18. It should be appreciated that although not shown in FIG. 4, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 16 executes various functional applications and data processing by executing programs stored in the memory 28, so as to realize the offline electronic ticket distribution method provided by the embodiment of the invention: receiving a two-dimensional code generation request sent by a first terminal, and judging whether the two-dimensional code generation request has a two-dimensional code generation permission, wherein the two-dimensional code generation request comprises project identification information and identity information of marketing personnel; if the two-dimension code generation request has the two-dimension code generation permission, generating a two-dimension code corresponding to the two-dimension code generation request, returning the two-dimension code to the first terminal, establishing a first corresponding relation among the item identification information, the identity information of the marketing personnel and the two-dimension code, and configuring an effective period and a limit for the two-dimension code according to the first corresponding relation; receiving an electronic coupon getting request sent by a second terminal through scanning the two-dimensional code, and judging whether the two-dimensional code is in the validity period and the amount is more than 0, wherein the electronic coupon getting request comprises user identity information; if the two-dimension code is in the validity period and the amount is larger than 0, judging whether the user identity information has the drawing authority; if the user identity information has the getting permission, generating an electronic ticket getting entrance corresponding to the electronic ticket getting request and returning the electronic ticket getting entrance to the second terminal; and when the triggering of the electronic ticket getting entrance is detected, generating the electronic ticket corresponding to the electronic ticket getting request and returning the electronic ticket to the second terminal, establishing a second corresponding relation between the user identity information and the electronic ticket, and finishing the distribution of the electronic ticket.
EXAMPLE five
The fifth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where when the computer program is executed by a processor, the offline electronic ticket distribution method provided by the fifth embodiment of the present invention is implemented: receiving a two-dimensional code generation request sent by a first terminal, and judging whether the two-dimensional code generation request has a two-dimensional code generation permission, wherein the two-dimensional code generation request comprises project identification information and identity information of marketing personnel; if the two-dimension code generation request has the two-dimension code generation permission, generating a two-dimension code corresponding to the two-dimension code generation request, returning the two-dimension code to the first terminal, establishing a first corresponding relation among the item identification information, the identity information of the marketing personnel and the two-dimension code, and configuring an effective period and a limit for the two-dimension code according to the first corresponding relation; receiving an electronic coupon getting request sent by a second terminal through scanning the two-dimensional code, and judging whether the two-dimensional code is in the validity period and the amount is more than 0, wherein the electronic coupon getting request comprises user identity information; if the two-dimension code is in the validity period and the amount is larger than 0, judging whether the user identity information has the drawing authority; if the user identity information has the getting permission, generating an electronic ticket getting entrance corresponding to the electronic ticket getting request and returning the electronic ticket getting entrance to the second terminal; and when the triggering of the electronic ticket getting entrance is detected, generating the electronic ticket corresponding to the electronic ticket getting request and returning the electronic ticket to the second terminal, establishing a second corresponding relation between the user identity information and the electronic ticket, and finishing the distribution of the electronic ticket.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or computer device. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (15)

1. An off-line electronic coupon distribution method is characterized by comprising the following steps:
receiving a two-dimensional code generation request sent by a first terminal, and judging whether the two-dimensional code generation request has a two-dimensional code generation permission, wherein the two-dimensional code generation request comprises project identification information and identity information of marketing personnel;
if the two-dimension code generation request has the two-dimension code generation permission, generating a two-dimension code corresponding to the two-dimension code generation request, returning the two-dimension code to the first terminal, establishing a first corresponding relation among the item identification information, the identity information of the marketing personnel and the two-dimension code, and configuring an effective period and a limit for the two-dimension code according to the first corresponding relation;
receiving an electronic coupon getting request sent by a second terminal through scanning the two-dimensional code, and judging whether the two-dimensional code is in the validity period and the amount is more than 0, wherein the electronic coupon getting request comprises user identity information;
if the two-dimension code is in the validity period and the amount is larger than 0, judging whether the user identity information has the drawing authority;
if the user identity information has the getting permission, generating an electronic ticket getting entrance corresponding to the electronic ticket getting request and returning the electronic ticket getting entrance to the second terminal;
and when the triggering of the electronic ticket getting entrance is detected, generating the electronic ticket corresponding to the electronic ticket getting request and returning the electronic ticket to the second terminal, establishing a second corresponding relation between the user identity information and the electronic ticket, and finishing the distribution of the electronic ticket.
2. The method of claim 1, wherein before the receiving a two-dimensional code generation request sent by a first terminal and determining whether the two-dimensional code generation request has a two-dimensional code generation authority, the method comprises:
establishing at least one project group, and configuring project information and marketing personnel information for each project group;
the project information comprises project validity periods and project total limits;
the marketing personnel information comprises marketing personnel identity information and marketing personnel personal quota.
3. The method of claim 2, wherein the determining whether the two-dimensional code generation request has two-dimensional code generation permission comprises:
acquiring a project group corresponding to the project identification information in the two-dimensional code generation request, and the project information and the marketing staff information of the project group;
judging whether the project is in the project validity period and the project total amount is available according to the project information;
if the item is in the term of validity and the total limit of the item is available, judging whether the marketing personnel information comprises the identity information of the marketing personnel in the two-dimensional code generation request;
if the marketing person information comprises the marketing person identity information in the two-dimensional code generation request, judging whether the marketing person personal amount corresponding to the marketing person identity information is available;
and if the personal limit of the marketing personnel corresponding to the identity information of the marketing personnel is available, the two-dimension code generation request has the two-dimension code generation permission.
4. The method of claim 3, wherein the marketer information further comprises: marketing personnel area information;
the two-dimensional code generation request further includes: current region information;
the judging whether the marketing personnel information comprises the marketing personnel identity information in the two-dimensional code generation request further comprises:
and judging whether the marketing person area information in the marketing person information comprises the current area information in the two-dimensional code generation request.
5. The method of claim 2, wherein configuring an expiration date and a credit for the two-dimensional code according to the first correspondence comprises:
acquiring project identification information corresponding to the two-dimensional code according to the first corresponding relation;
configuring the project validity period in the project identification information as the validity period of the two-dimensional code;
acquiring identity information of a marketing person corresponding to the two-dimensional code according to the first corresponding relation;
and configuring the personal quota of the marketing personnel corresponding to the identity information of the marketing personnel as the quota of the two-dimensional code.
6. The method according to claim 1, wherein after the generating of the electronic ticket corresponding to the electronic ticket getting request and returning the electronic ticket to the second terminal, establishing a second corresponding relationship between the user identity information and the electronic ticket, and completing the distribution of the electronic ticket, further comprising:
establishing a third corresponding relation between the two-dimension code and the electronic ticket;
and updating the limit of the two-dimensional code according to the third corresponding relation.
7. The method according to claim 2, wherein after the generating of the electronic ticket corresponding to the electronic ticket getting request and returning the electronic ticket to the second terminal, establishing a second corresponding relationship between the user identity information and the electronic ticket, and completing the distribution of the electronic ticket, further comprising:
establishing a third corresponding relation between the two-dimension code and the electronic ticket;
updating the amount of the two-dimensional code according to the third corresponding relation;
acquiring item identification information and identity information of marketing personnel corresponding to the two-dimensional code according to the first corresponding relation;
acquiring a project group corresponding to the project identification information, and project information and marketing staff information of the project group;
and updating the total amount of the items in the item information and the personal amount of the marketer corresponding to the identity information of the marketer in the marketer information.
8. The method according to claim 6 or 7, wherein the updating the quota of the two-dimensional code according to the third corresponding relationship comprises:
and when the electronic ticket is detected to be successfully generated and returned to the second terminal, reducing the quota of the two-dimensional code corresponding to the electronic ticket by the quota value corresponding to the electronic ticket.
9. The method of claim 1, wherein the quota comprises: the electronic ticket quantity limit and/or the electronic ticket face value limit.
10. The method according to claim 1, wherein after the generating of the electronic ticket corresponding to the electronic ticket getting request and returning the electronic ticket to the second terminal, establishing a second corresponding relationship between the user identity information and the electronic ticket, and completing the distribution of the electronic ticket, further comprising:
when an electronic ticket use request generated by triggering the electronic ticket is detected, judging whether the user identity information in the electronic ticket use request corresponds to the electronic ticket according to the second corresponding relation;
and if the user identity information in the electronic ticket using request corresponds to the electronic ticket, returning to the electronic ticket using entrance.
11. The method of claim 10, further comprising:
and recording the use state of the electronic ticket.
12. The method of claim 1, after the determining whether the user identity information has the right to earn, further comprising:
and if the user identity information does not have the picking authority, returning to a user registration entrance or a user login entrance.
13. An electronic coupon offline distribution device, comprising:
the system comprises a generation request receiving module, a two-dimension code generation module and a marketing staff identification information generating module, wherein the generation request receiving module is used for receiving a two-dimension code generation request sent by a first terminal and judging whether the two-dimension code generation request has a two-dimension code generation permission or not, and the two-dimension code generation request comprises item identification information and marketing staff identification information;
the two-dimension code generation module is used for generating a two-dimension code corresponding to the two-dimension code generation request and returning the two-dimension code to the first terminal if the two-dimension code generation request has the two-dimension code generation permission, establishing a first corresponding relation among the item identification information, the marketing personnel identity information and the two-dimension code, and configuring an effective period and a limit for the two-dimension code according to the first corresponding relation;
the receiving module is used for receiving an electronic coupon receiving request sent by a second terminal through scanning the two-dimensional code, judging whether the two-dimensional code is in the validity period and the amount is greater than 0, wherein the electronic coupon receiving request comprises user identity information;
the receiving authority judging module is used for judging whether the user identity information has receiving authority or not if the two-dimensional code is in the validity period and the amount is more than 0;
a receiving entrance generating module, configured to generate an electronic ticket receiving entrance corresponding to the electronic ticket receiving request and return the electronic ticket receiving entrance to the second terminal if the user identity information has a receiving right;
and the electronic ticket generating module is used for generating an electronic ticket corresponding to the electronic ticket getting request and returning the electronic ticket to the second terminal when the electronic ticket getting entrance is detected to be triggered, and establishing a second corresponding relation between the user identity information and the electronic ticket to finish the distribution of the electronic ticket.
14. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program implements the electronic coupon offline distribution method of any one of claims 1-12.
15. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method for offline distribution of electronic coupons according to any of claims 1 to 12.
CN202011036105.4A 2020-09-27 2020-09-27 Offline electronic ticket distribution method, device, equipment and storage medium Pending CN112184310A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011036105.4A CN112184310A (en) 2020-09-27 2020-09-27 Offline electronic ticket distribution method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011036105.4A CN112184310A (en) 2020-09-27 2020-09-27 Offline electronic ticket distribution method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112184310A true CN112184310A (en) 2021-01-05

Family

ID=73944304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011036105.4A Pending CN112184310A (en) 2020-09-27 2020-09-27 Offline electronic ticket distribution method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112184310A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020128911A1 (en) * 2001-03-12 2002-09-12 Nec Corporation Electronic coupon method, electronic coupon system, marketing server, purchaser terminal, order-receiving terminal, and program
CN105046530A (en) * 2015-08-05 2015-11-11 北京铭嘉实咨询有限公司 Method and system for providing services to user from online to offline
CN106251169A (en) * 2016-07-14 2016-12-21 精硕世纪科技(北京)有限公司 Electronic coupon system and the monitoring of the advertisement method of this system for monitoring of the advertisement
CN106875219A (en) * 2017-02-09 2017-06-20 南京猫酷科技股份有限公司上海分公司 A kind of method and system that electronic ticket is obtained based on scanning Quick Response Code
CN109636469A (en) * 2018-12-13 2019-04-16 北京三快在线科技有限公司 Discount coupon generation method, device, storage medium and electronic equipment
CN111144931A (en) * 2019-12-10 2020-05-12 中国建设银行股份有限公司四川省分行 System, method and related apparatus for providing customer benefit activities

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020128911A1 (en) * 2001-03-12 2002-09-12 Nec Corporation Electronic coupon method, electronic coupon system, marketing server, purchaser terminal, order-receiving terminal, and program
CN105046530A (en) * 2015-08-05 2015-11-11 北京铭嘉实咨询有限公司 Method and system for providing services to user from online to offline
CN106251169A (en) * 2016-07-14 2016-12-21 精硕世纪科技(北京)有限公司 Electronic coupon system and the monitoring of the advertisement method of this system for monitoring of the advertisement
CN106875219A (en) * 2017-02-09 2017-06-20 南京猫酷科技股份有限公司上海分公司 A kind of method and system that electronic ticket is obtained based on scanning Quick Response Code
CN109636469A (en) * 2018-12-13 2019-04-16 北京三快在线科技有限公司 Discount coupon generation method, device, storage medium and electronic equipment
CN111144931A (en) * 2019-12-10 2020-05-12 中国建设银行股份有限公司四川省分行 System, method and related apparatus for providing customer benefit activities

Similar Documents

Publication Publication Date Title
US20180096416A1 (en) Virtual resource transfer method, client device, application server, and system
CN110443695A (en) Data processing method and its device, electronic equipment and medium
US8230419B2 (en) Method, system and program product for capturing central processing unit (CPU) utilization for a process on a virtual machine
TW201331877A (en) Application store interface for remote management of client devices
CN104599165A (en) Network transaction method and associated equipment and systems thereof
CN111476460B (en) Method, equipment and medium for intelligent operation scheduling of self-service equipment of bank
CN110991903A (en) Service personnel allocation method, device, equipment and storage medium
CN110619555A (en) Unified management method and device for order information, terminal equipment and medium
CN107948274B (en) Transaction authentication method and system, server, and storage medium
CN111666539A (en) Real estate resource management method, device, server and storage medium
CN115578138A (en) Marketing method, marketing device, marketing medium and computing equipment
CN108256930A (en) A kind of invoice issuing method, relevant apparatus and system
CN112346628A (en) Special shared resource certificate management method, system and electronic equipment
US10970722B2 (en) Method, systems, and computer-readable storage media for real-time event management system for mobile devices
CN110070383B (en) Abnormal user identification method and device based on big data analysis
CN112184310A (en) Offline electronic ticket distribution method, device, equipment and storage medium
CN111461824B (en) Interface display method, electronic device and computer readable storage medium
CN113902377A (en) Vehicle supervision data processing method and system, electronic equipment and storage medium
CN112734453B (en) Electronic coupon pickup method, electronic coupon issuing device, electronic coupon pickup apparatus, electronic coupon issuing apparatus, and storage medium
CN113469558A (en) Material management method and system
CN113570083A (en) Operation and maintenance flow determination method and device for equipment, electronic equipment and storage medium
JP4864954B2 (en) Service point operation system, method, and program
CN111459475A (en) Interface calling method, interface docking configuration method, device, equipment and medium
KR20160099924A (en) Method of providing cost for contents download, computering apparayus performing the same and storage media storing the same
CN112308471B (en) Resource allocation method, device, system, equipment and computer readable storage medium

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220909

Address after: 25 Financial Street, Xicheng District, Beijing 100033

Applicant after: CHINA CONSTRUCTION BANK Corp.

Address before: 12 / F, 15 / F, 99 Yincheng Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai, 200120

Applicant before: Jianxin Financial Science and Technology Co.,Ltd.