CN109509020B - Coupon amount checking method and device - Google Patents

Coupon amount checking method and device Download PDF

Info

Publication number
CN109509020B
CN109509020B CN201811230570.4A CN201811230570A CN109509020B CN 109509020 B CN109509020 B CN 109509020B CN 201811230570 A CN201811230570 A CN 201811230570A CN 109509020 B CN109509020 B CN 109509020B
Authority
CN
China
Prior art keywords
amount
issuing
merchant
coupon
determined
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.)
Active
Application number
CN201811230570.4A
Other languages
Chinese (zh)
Other versions
CN109509020A (en
Inventor
刘旭华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201811230570.4A priority Critical patent/CN109509020B/en
Publication of CN109509020A publication Critical patent/CN109509020A/en
Application granted granted Critical
Publication of CN109509020B publication Critical patent/CN109509020B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/0208Trade or exchange of goods or services in exchange for incentives or rewards
    • 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/0211Determining the effectiveness of discounts or incentives

Abstract

A coupon amount checking method and apparatus are disclosed. A coupon amount checking method, the method comprising: acquiring a set of coupons to be checked in a target period for checking the amount; determining coupon information of each coupon to be checked in the set, wherein the coupon information comprises: issuing merchant information, issuing time information, amount information and coupon identification; counting the preferential amount in the target period according to the determined amount information; counting the verification amount in the target period according to the determined coupon identification and the pre-recorded verification details; counting the release amount of the corresponding merchant in the corresponding release period according to the determined release merchant information and release time information; checking whether the counted preferential amount, the verification amount and the release amount meet preset conditions.

Description

Coupon amount checking method and device
Technical Field
The embodiment of the specification relates to the technical field of internet application, in particular to a coupon amount checking method and device.
Background
One common marketing approach that merchants attract users to consume is to issue coupons to users through paytables. After the merchant issues the coupon, the account pre-stored funds can be opened on the payment platform, and when the user uses the coupon to consume, the payment platform respectively pays out partial amounts from the user personal account and the merchant pre-stored funds account into the merchant profit account according to the preferential policy.
When the user actually uses the coupon, due to malicious tampering of some users, or operation errors of a payment platform, etc., the corresponding relationship errors of the amount (verification amount) of the pre-stored funds of the merchant and the preferential amount of the user group during consumption, etc. may be caused, and even if a problem is found, the cause cannot be determined.
Based on the prior art, there is a need for a solution that can more accurately verify the amount of coupons issued, consumed, and approved.
Disclosure of Invention
Aiming at the technical problems, the embodiment of the specification provides a coupon amount checking method and device, and the technical scheme is as follows:
acquiring a set of coupons to be checked in a target period for checking the amount;
determining coupon information of each coupon to be checked in the set, wherein the coupon information comprises: issuing merchant information, issuing time information, amount information and coupon identification;
counting the preferential amount in the target period according to the determined amount information;
counting the verification amount in the target period according to the determined coupon identification and the pre-recorded verification details;
counting the release amount of the corresponding merchant in the corresponding release period according to the determined release merchant information and release time information;
checking whether the counted preferential amount, the verification amount and the release amount meet preset conditions.
A coupon amount checking apparatus, the apparatus comprising:
the coupon acquisition module is used for acquiring a set of coupons to be checked in a target period for checking the amount;
the information determining module is used for determining coupon information of each coupon to be checked in the collection, and the coupon information comprises: issuing merchant information, issuing time information, amount information and coupon identification;
the preferential amount counting module is used for counting preferential amount in the target period according to the determined amount information;
the verification and approval amount counting module is used for counting verification and approval amounts in the target period according to the determined coupon identification and the pre-recorded verification and approval details;
the issuing amount counting module is used for counting the issuing amount of the corresponding merchant in the corresponding issuing period according to the determined issuing merchant information and the issuing time information;
and the amount checking module is used for checking whether the counted preferential amount, the verification amount and the release amount meet preset conditions.
According to the technical scheme provided by the embodiment of the specification, whether the preset conditions are met or not is checked for the preferential amount consumed by the user, the verification amount paid in the pre-stored fund account of the merchant and the release amount released by the merchant, so that whether the relationship of the preferential amount is correct or not is checked from three dimensions of coupon release, consumption and verification, the checking result is more timely and accurate, and the problem reason can be more conveniently positioned when the problem is determined.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the embodiments of the disclosure.
Further, not all of the effects described above need be achieved in any of the embodiments of the present specification.
Drawings
In order to more clearly illustrate the embodiments of the present description or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present description, and other drawings may be obtained according to these drawings for a person having ordinary skill in the art.
FIG. 1 is a flow chart of a coupon amount checking method according to an embodiment of the present disclosure;
FIG. 2 is a schematic representation of the encoded version of a coupon serial number according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of the result of the amount check in the embodiment of the present specification;
FIG. 4 is another schematic diagram of the amount verification result of the embodiment of the present specification;
FIG. 5 is a further schematic diagram of the amount verification result of the embodiment of the present specification;
fig. 6 is a schematic diagram of the structure of a coupon amount collation apparatus of the embodiment of the present specification;
fig. 7 is a schematic diagram of an apparatus for configuring the device of the embodiment of the present specification.
Detailed Description
In order for those skilled in the art to better understand the technical solutions in the embodiments of the present specification, the technical solutions in the embodiments of the present specification will be described in detail below with reference to the drawings in the embodiments of the present specification, and it is apparent that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification shall fall within the scope of protection.
An embodiment of the present disclosure provides a coupon amount checking method, referring to fig. 1, which may include the steps of:
s101, acquiring a set of coupons to be checked in a target period for checking the amount;
it is understood that the amount checking is performed in units of the target period in order to improve the efficiency of the amount checking, and the target period for the amount checking can be flexibly set by those skilled in the art according to actual demands. For example, the number of coupons to be checked in the collection can be accumulated, and when the number reaches a preset threshold value, the accumulated coupons are checked in batch amount; for another example, the amount checking can be performed periodically in advance, if the amount checking is performed at a specific time every day, the target period is 24 hours before the periodic checking is triggered this time; etc., and the embodiments of the present specification are not limited thereto.
S102, determining coupon information of each coupon to be checked in the set, wherein the coupon information comprises: issuing merchant information, issuing time information, amount information and coupon identification;
in the coupon amount checking scheme provided in the embodiments of the present disclosure, for each coupon to be checked, several pieces of coupon information of the coupon need to be determined.
Wherein, for the purpose of checking the amount, it is obviously necessary to determine the amount information of each coupon to be checked. And each coupon has a unique coupon identification, so that different coupons are distinguished in each stage of coupon issuing, acquisition, consumption, verification, and the like.
Coupons issued by merchants generally have a certain service life, for example, coupons with a service life of several months, and after users get the coupons, the coupons may be used in different time periods from several hours to several months, that is, there is a time difference between the issuance of the coupons and the verification of the coupons, so that the merchant can relatively scatter the inflow and outflow of funds in the account of the pre-stored funds started by the payment platform. Therefore, in the solution provided in the embodiment of the present disclosure, in order to make coupon amount verification more accurate, issuing merchant information and issuing time information of each coupon to be verified will also be determined.
Of course, those skilled in the art may determine other coupon information of the coupons to be checked according to actual needs, which is not limited in the embodiment of the present disclosure.
In addition, the embodiment of the present specification is not limited to the specific form of the coupon information. In a specific embodiment, the information of the issuing merchant, the information of the issuing time and the coupon identifier may be encoded in the form of serial number segments as shown in fig. 2, and different issuing merchants, different issuing times and different coupons respectively have different number segments, so that the merchants, the times and the coupons can be distinguished according to the number segments.
S103, counting the preferential amount in the target period according to the determined amount information;
s104, counting the verification amount in the target period according to the determined coupon identification and the pre-recorded verification details;
s105, counting the release amount of the corresponding merchant in the corresponding release period according to the determined release merchant information and release time information;
s106, checking whether the counted preferential amount, the verification amount and the release amount meet preset conditions.
For convenience of description, S103 to S106 will be described in combination.
When checking the amount of the coupon to be checked in the target period, the preferential amount and the verification amount, namely the amount deducted after the user uses the coupon, and the amount paid in the merchant pre-stored fund account need to be checked, and whether the relationship between the preferential amount and the verification amount is correct or not is determined.
Specifically, firstly, according to the determined amount information, counting the preferential amount in the target period, and then, according to the determined coupon identification and the pre-recorded verification and approval details, counting the verification and approval amount in the target period, so that whether the relationship between the counted preferential amount and verification and approval amount is correct or not can be compared, and if the relationship is equal, the relationship is compared directly.
In one embodiment, in order to find out the problems of the cancellation funds, such as the cross-account, the preferential amount and the cancellation amount of each merchant involved in the sum statistics can be counted and compared respectively.
Specifically, first, according to the determined issuing merchant information, the issuing merchant of each coupon to be checked is determined, and then, for any of the determined issuing merchants: and counting the preferential amount of the merchant in the target period according to the amount information of the corresponding coupon to be checked, namely counting the deducted preferential amount when the user consumes the coupon of the merchant.
Further, for any of the determined issuing merchants: the verification details recorded in advance by the merchant are read, and the verification details can be recorded when the user uses each coupon, specifically, information such as coupon identification, payment (deduction) amount and the like can be recorded. And then counting the verification amount of the merchant in the target period according to the identification and verification details of the corresponding coupon to be verified.
After the preferential amount and the verification amount of the merchant are obtained through statistics, whether the preferential amount and the verification amount of the merchant are equal or not can be compared, and if yes, the preferential amount and the verification amount of the merchant are determined to be in accordance with preset conditions.
Of course, other dimensions of verification may be performed, for example, specifically comparing each coupon of the user with each recorded verification details according to the coupon identifier and the amount information, and the embodiment of the present disclosure is not limited.
When the amount of the coupon to be checked in the target period is checked, no matter whether the coupon amount and the verification amount meet the preset conditions or not, in order to avoid abnormal conditions such as that the coupon amount is tampered or the coupon amount is wrong due to the problem of a coupon system program, the amount check is also needed from the dimension of the issued amount.
In a specific embodiment, when counting the amount of the corresponding merchant in the corresponding issuing period according to the determined information of the issuing merchant and the issuing time information, the issuing merchant of each coupon to be checked may be determined according to the determined information of the issuing merchant, and then for any of the determined issuing merchants: according to the determined issuing time information, determining issuing time periods of coupons to be checked issued by the merchant, and finally, aiming at any issuing time period of any issuing merchant: counting the amount of the issued coupons to be checked by the target, wherein the coupons to be checked by the target are: and among the coupons to be checked, the coupons issued by the issuing merchant in the issuing period.
For example, in the coupon system, a plurality of merchants are involved, and each merchant issues a batch of coupons with a service life of 6 months per month, when counting the issued amount of the coupons to be checked, the issued merchant of each coupon can be determined according to the issued merchant information of each coupon to be checked. Taking the determined merchant A as an example, determining the issuing time of each coupon to be checked according to the issuing time information of each coupon issued by the merchant, if determining that the coupons are issued respectively with 4 months 1 day, 5 months 1 day and 6 months 1 day, counting the issuing amount of the merchant A on 4 months 1 day, 5 months 1 day and 6 months 1 day respectively, namely, the total amount issued by the merchant A on 4 months 1 day, the total amount issued on 5 months 1 day and the total amount issued on 6 months 1 day in the coupons to be checked.
When checking whether the release amount accords with the preset condition, determining the release total amount of coupons released by the merchant in the time period according to the preset release details for any release time period of any release merchant, such as the time period of merchant A for 4 months and 1 day, and for example, the time period of merchant A for 4 months and 1 day, wherein the release amount of coupons is 5 ten thousand yuan; and comparing whether the counted dispensing amount is not greater than the dispensing total amount, and if so, determining that the dispensing amount meets the preset condition.
The time between the issuance of the coupon by the merchant and the completion of the coupon amount checking can at least comprise 3 stages of the issuance and the acquisition of the coupon, the consumption and the verification of the coupon, and in the amount checking scheme, the amount checking is performed on the coupon used in the stage of the consumption and the verification of the coupon, and in a specific embodiment, the amount checking is also performed on the coupon used in the stage of the issuance and the acquisition of the coupon.
Specifically, according to the determined issue time information, it is determined whether the target period is the issue period of the coupon to be checked. For example, merchant A issues a batch of coupons on day 4 and day 1, and the user may pick up and use the coupons on the same day, and if the target period is 0 to 24 hours on day 4 and day 1, the target period is the issue and pick up period, and also the consumption and verification period.
Then, when the target period is the issuing period, the issuing amount in the target period may be counted according to the determined amount information, and when each user obtains the coupon, information such as the identifier of each obtained coupon, the preferential amount of the coupon, etc. may be recorded, so that according to the determined coupon identifier and the pre-recorded obtaining details, the obtained amount in the target period may be counted, and whether the counted issuing amount and the obtained amount meet preset conditions may be checked.
Similar to the previously described verification of the amount in the consumption and verification stage, the coupon amount in the distribution and pickup stage may also be verified from multiple dimensions.
In one example, the counted issue amount and the pickup amount may be compared to determine whether they are equal; if the amount of the money is equal to the amount of the money to be received, the amount of the money to be received and the amount of the money to be received are determined to accord with the preset condition.
In addition, if the issued amount is greater than the pickup amount, an abnormal condition may occur, or coupons may not be all picked up, and further, according to the coupon identifier, the pre-recorded issuing details and the pickup details, the non-pickup amount in the target period may be counted; comparing whether the issued amount is equal to the sum of the pickup amount and the undelivered amount; if the sum is equal to the preset value, the issuing sum and the receiving sum are determined to accord with the preset condition.
After the coupon issuing and receiving stage and the consumption and verification stage are subjected to the amount verification, if the condition that the amount verification result does not accord with the preset condition is determined, the alarm can be directly given so as to prompt operators to check error reasons; the reasons for the problems can be specifically positioned for operators to refer to; etc., the embodiments of the present specification are not particularly limited.
The coupon amount verification method provided in this specification is described below in connection with a more specific example.
(1) Coupon issuing and receiving stage
Assuming that merchant a issues 1 ten thousand coupons for use on day 1 through a payment platform on day 4, each coupon may be preferential for 5 yuan, the merchant needs to pre-store at least 5 ten thousand prepaid funds in the pre-stored funds account of the payment platform.
Similarly, merchant B may also issue 2 ten thousand coupons with a lifetime of the same day on day 1 of 4 months through the paymate, each coupon may be 3 yuan worth of coupons, and at least 6 ten thousand funds are pre-stored.
And each issued coupon also comprises a serial number section consisting of an issuing merchant number section, an issuing time number section and a coupon number section, which is used for identifying the coupon, and the merchant can record the serial number section of each coupon in the issuing stage to form issuing details.
After each coupon is picked up by the user, the pick-up user, the serial number section, the amount information and the like are recorded to form a pick-up detail.
(2) Coupon consumption and verification stage
The coupon system can check the amount of the coupon consumed and approved in 24 hours of the previous day at 0 hours of the day.
For example, at 0 point on month 4 and 2, the coupon amount used within 24 hours on month 4 and 1 is checked.
As shown in FIG. 3, the preferential amount, the verification amount and the release amount are counted respectively, wherein the table (a) in FIG. 3 is a counting table of the preferential amount, the table (b) is a counting table of the verification amount, and the release amounts of different merchants at different times are respectively represented by different rows of the tables (a) and (b). Table (b) shows the total amount of coupons issued by different merchants at different times. As can be seen from fig. 3, if the corresponding relation of the amounts in the table is correct, it can be determined that no abnormal situation occurs, and no amount loss occurs in the merchant or the paymate.
As shown in fig. 4, the refund error condition is a result of statistics when the coupon amount is tampered or refund error occurs, and the refund error condition is that if the user uses the coupon to consume, the coupon amount is paid out from the pre-stored account, but if the user applies for refund later, the coupon amount is not returned to the pre-stored account due to a system error or the like, and the amount is wrong. Fig. 5 shows the statistics of the occurrence of the funds transfer.
By applying the scheme, common abnormal conditions such as coupon tampering, refund errors, fund series and the like can be found in time after the amount is checked, and a coupon issuing merchant and issuing time can be specifically positioned, so that the specific coupon with problems is determined according to details recorded in stages such as issuing, receiving, consuming, verifying and the like, and the loss of merchants or payment platforms is avoided.
Corresponding to the above method embodiment, the present embodiment further provides a coupon amount checking device, as shown in fig. 6, which may include:
a coupon acquisition module 110 for acquiring a set of coupons to be checked in a target period for performing the amount check;
an information determining module 120, configured to determine coupon information of each coupon to be checked in the set, where the coupon information includes: issuing merchant information, issuing time information, amount information and coupon identification;
the preferential amount counting module 130 is configured to count preferential amounts in the target period according to the determined amount information;
a verification amount statistics module 140, configured to calculate a verification amount in the target period according to the determined coupon identifier and a pre-recorded verification detail;
the issuing amount statistics module 150 is configured to count the issuing amount of the corresponding merchant in the corresponding issuing period according to the determined issuing merchant information and the issuing time information;
and the amount checking module 160 is configured to check whether the counted preferential amount, the verification amount and the release amount meet preset conditions.
In one specific embodiment provided in the present specification, the preferential amount statistics module 130 may specifically be configured to:
determining issuing merchants of coupons to be checked according to the determined issuing merchant information;
for any issuing merchant determined: counting the preferential amount of the merchant in the target period according to the amount information of the corresponding coupon to be checked;
the accounting and accounting module 140 may be specifically configured to:
determining issuing merchants of coupons to be checked according to the determined issuing merchant information;
for any issuing merchant determined: reading a verification and approval detail recorded in advance by the merchant, and counting verification and approval amount of the merchant in the target period according to the verification and approval detail and the identification of the corresponding coupon to be verified;
the amount checking module 160 may specifically be configured to:
for any issuing merchant determined: comparing whether the preferential amount of the merchant is equal to the verification amount, if so, determining that the preferential amount of the merchant and the verification amount meet the preset condition.
In one embodiment provided in the present specification, the issue amount statistics module 150 may specifically be configured to:
determining issuing merchants of coupons to be checked according to the determined issuing merchant information;
for any issuing merchant determined: determining the issuing time period of each coupon to be checked issued by the merchant according to the determined issuing time information;
for any of the determined dispensing periods for any of the dispensing merchants: counting the amount of the issued coupons to be checked by the target, wherein the coupons to be checked by the target are: among the coupons to be checked, the coupon issued by the issuing merchant in the issuing period;
the amount checking module 160 may specifically be configured to:
for any of the determined dispensing periods for any of the dispensing merchants: determining the total issuing amount of coupons issued by the merchant in the time period according to the pre-recorded issuing details; and comparing whether the counted dispensing amount is not greater than the dispensing total amount, and if so, determining that the dispensing amount meets the preset condition.
In one specific embodiment provided in the present specification, the method may further include an issue period determining module 170, configured to, after determining the coupon information of each coupon to be checked in the set:
determining whether the target period is the issuing period of the coupon to be checked according to the determined issuing time information;
in the case that the target period is a dispensing period, the dispensing amount statistics module 150 may be further configured to:
counting the issued amount in the target period according to the determined amount information; and
the apparatus further includes a pickup amount statistics module 180 that may be used to:
counting the pickup amount in the target period according to the determined coupon identification and a pre-recorded pickup detail;
the amount checking module 160 may be further configured to:
checking whether the counted issued amount and the picked amount meet preset conditions.
In one specific embodiment provided in this specification, the amount checking module 160 may specifically be configured to:
comparing whether the counted issued amount is equal to the pickup amount; if the amount of the money is equal to the amount of the money to be received, the amount of the money to be received and the amount of the money to be received are determined to accord with the preset condition.
In one specific embodiment provided in the present specification, the amount checking module 160 may be further specifically configured to:
if the issued amount is larger than the pickup amount, counting the non-pickup amount in the target period according to the coupon identification, the pre-recorded issuing details and the pickup details;
comparing whether the issued amount is equal to the sum of the pickup amount and the undelivered amount; if the sum is equal to the preset value, the issuing sum and the receiving sum are determined to accord with the preset condition.
The implementation process of the functions and roles of each module in the above device is specifically shown in the implementation process of the corresponding steps in the above method, and will not be described herein again.
The embodiments of the present disclosure also provide a computer device at least including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the aforementioned coupon amount checking method when executing the program. The method at least comprises the following steps:
a coupon amount checking method, the method comprising:
acquiring a set of coupons to be checked in a target period for checking the amount;
determining coupon information of each coupon to be checked in the set, wherein the coupon information comprises: issuing merchant information, issuing time information, amount information and coupon identification;
counting the preferential amount in the target period according to the determined amount information;
counting the verification amount in the target period according to the determined coupon identification and the pre-recorded verification details;
counting the release amount of the corresponding merchant in the corresponding release period according to the determined release merchant information and release time information;
checking whether the counted preferential amount, the verification amount and the release amount meet preset conditions.
FIG. 7 illustrates a more specific hardware architecture diagram of a computing device provided by embodiments of the present description, which may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 implement communication connections therebetween within the device via a bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit ), microprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, etc. for executing relevant programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory ), static storage device, dynamic storage device, or the like. Memory 1020 may store an operating system and other application programs, and when the embodiments of the present specification are implemented in software or firmware, the associated program code is stored in memory 1020 and executed by processor 1010.
The input/output interface 1030 is used to connect with an input/output module for inputting and outputting information. The input/output module may be configured as a component in a device (not shown) or may be external to the device to provide corresponding functionality. Wherein the input devices may include a keyboard, mouse, touch screen, microphone, various types of sensors, etc., and the output devices may include a display, speaker, vibrator, indicator lights, etc.
Communication interface 1040 is used to connect communication modules (not shown) to enable communication interactions of the present device with other devices. The communication module may implement communication through a wired manner (such as USB, network cable, etc.), or may implement communication through a wireless manner (such as mobile network, WIFI, bluetooth, etc.).
Bus 1050 includes a path for transferring information between components of the device (e.g., processor 1010, memory 1020, input/output interface 1030, and communication interface 1040).
It should be noted that although the above-described device only shows processor 1010, memory 1020, input/output interface 1030, communication interface 1040, and bus 1050, in an implementation, the device may include other components necessary to achieve proper operation. Furthermore, it will be understood by those skilled in the art that the above-described apparatus may include only the components necessary to implement the embodiments of the present description, and not all the components shown in the drawings.
The present embodiment also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the aforementioned coupon amount checking method. The method at least comprises the following steps:
a coupon amount checking method, the method comprising:
acquiring a set of coupons to be checked in a target period for checking the amount;
determining coupon information of each coupon to be checked in the set, wherein the coupon information comprises: issuing merchant information, issuing time information, amount information and coupon identification;
counting the preferential amount in the target period according to the determined amount information;
counting the verification amount in the target period according to the determined coupon identification and the pre-recorded verification details;
counting the release amount of the corresponding merchant in the corresponding release period according to the determined release merchant information and release time information;
checking whether the counted preferential amount, the verification amount and the release amount meet preset conditions.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transshipment) such as modulated data signals and carrier waves.
From the foregoing description of embodiments, it will be apparent to those skilled in the art that the present embodiments may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions of the embodiments of the present specification may be embodied in essence or what contributes to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present specification.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or a combination of any of these devices.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points. The apparatus embodiments described above are merely illustrative, in which the modules illustrated as separate components may or may not be physically separate, and the functions of the modules may be implemented in the same piece or pieces of software and/or hardware when implementing the embodiments of the present disclosure. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The foregoing is merely a specific implementation of the embodiments of this disclosure, and it should be noted that, for a person skilled in the art, several improvements and modifications may be made without departing from the principles of the embodiments of this disclosure, and these improvements and modifications should also be considered as protective scope of the embodiments of this disclosure.

Claims (13)

1. A coupon amount checking method, the method comprising:
acquiring a set of coupons to be checked in a target period for checking the amount;
determining coupon information of each coupon to be checked in the set, wherein the coupon information comprises: issuing merchant information, issuing time information, amount information and coupon identification;
counting the preferential amount in the target period according to the determined amount information;
counting the verification amount in the target period according to the determined coupon identification and the pre-recorded verification details;
counting the release amount of the corresponding merchant in the corresponding release period according to the determined release merchant information and release time information;
checking whether the counted preferential amount, verification amount and release amount meet preset conditions; wherein, for any merchant, the verification is performed by:
comparing whether the preferential amount of any merchant in the target period is equal to the verification amount; and/or the number of the groups of groups,
and comparing whether the release amount of any merchant in any release period is not more than the release total of any merchant.
2. The method of claim 1, wherein the counting the preferential amount in the target period according to the determined amount information includes:
determining issuing merchants of coupons to be checked according to the determined issuing merchant information;
for any issuing merchant determined: counting the preferential amount of the merchant in the target period according to the amount information of the corresponding coupon to be checked;
and counting the verification amount in the target period according to the determined coupon identification and the pre-recorded verification details, wherein the verification amount comprises the following steps:
determining issuing merchants of coupons to be checked according to the determined issuing merchant information;
for any issuing merchant determined: reading a verification and approval detail recorded in advance by the merchant, and counting verification and approval amount of the merchant in the target period according to the verification and approval detail and the identification of the corresponding coupon to be verified;
checking whether the counted preferential amount, the verification amount and the release amount meet preset conditions or not comprises the following steps:
for any issuing merchant determined: comparing whether the preferential amount of the merchant is equal to the verification amount, if so, determining that the preferential amount of the merchant and the verification amount meet the preset condition.
3. The method according to claim 1, wherein counting the amount of the corresponding merchant issued in the corresponding issuing period according to the determined information of the issuing merchant and the issuing time information, comprises:
determining issuing merchants of coupons to be checked according to the determined issuing merchant information;
for any issuing merchant determined: determining the issuing time period of each coupon to be checked issued by the merchant according to the determined issuing time information;
for any of the determined dispensing periods for any of the dispensing merchants: counting the amount of the issued coupons to be checked by the target, wherein the coupons to be checked by the target are: among the coupons to be checked, the coupon issued by the issuing merchant in the issuing period;
checking whether the counted preferential amount, the verification amount and the release amount meet preset conditions or not comprises the following steps:
for any of the determined dispensing periods for any of the dispensing merchants: determining the total issuing amount of coupons issued by the merchant in the time period according to the pre-recorded issuing details; and comparing whether the counted dispensing amount is not greater than the dispensing total amount, and if so, determining that the dispensing amount meets the preset condition.
4. The method of claim 1, further comprising, after determining coupon information for each coupon to be verified in the collection:
determining whether the target period is the issuing period of the coupon to be checked according to the determined issuing time information;
under the condition that the target time period is a release time period, counting the release amount in the target time period according to the determined amount information; and
counting the pickup amount in the target period according to the determined coupon identification and a pre-recorded pickup detail;
checking whether the counted issued amount and the picked amount meet preset conditions.
5. The method of claim 4, wherein the checking whether the counted delivery amount and the pickup amount meet a preset condition comprises:
comparing whether the counted issued amount is equal to the pickup amount; if the amount of the money is equal to the amount of the money to be received, the amount of the money to be received and the amount of the money to be received are determined to accord with the preset condition.
6. The method of claim 5, further comprising, after comparing whether the counted issue amount and the pickup amount are equal:
if the issued amount is larger than the pickup amount, counting the non-pickup amount in the target period according to the coupon identification, the pre-recorded issuing details and the pickup details;
comparing whether the issued amount is equal to the sum of the pickup amount and the undelivered amount; if the sum is equal to the preset value, the issuing sum and the receiving sum are determined to accord with the preset condition.
7. A coupon amount checking apparatus, the apparatus comprising:
the coupon acquisition module is used for acquiring a set of coupons to be checked in a target period for checking the amount;
the information determining module is used for determining coupon information of each coupon to be checked in the collection, and the coupon information comprises: issuing merchant information, issuing time information, amount information and coupon identification;
the preferential amount counting module is used for counting preferential amount in the target period according to the determined amount information;
the verification and approval amount counting module is used for counting verification and approval amounts in the target period according to the determined coupon identification and the pre-recorded verification and approval details;
the issuing amount counting module is used for counting the issuing amount of the corresponding merchant in the corresponding issuing period according to the determined issuing merchant information and the issuing time information;
the money checking module is used for checking whether the counted preferential money, the verification money and the release money meet preset conditions or not; wherein, for any merchant, the amount checking module is configured to:
comparing whether the preferential amount of any merchant in the target period is equal to the verification amount; and/or the number of the groups of groups,
and comparing whether the release amount of any merchant in any release period is not more than the release total of any merchant.
8. The apparatus of claim 7, the offer statistics module is specifically configured to:
determining issuing merchants of coupons to be checked according to the determined issuing merchant information;
for any issuing merchant determined: counting the preferential amount of the merchant in the target period according to the amount information of the corresponding coupon to be checked;
the verifying and counting module is specifically configured to:
determining issuing merchants of coupons to be checked according to the determined issuing merchant information;
for any issuing merchant determined: reading a verification and approval detail recorded in advance by the merchant, and counting verification and approval amount of the merchant in the target period according to the verification and approval detail and the identification of the corresponding coupon to be verified;
the amount checking module is specifically configured to:
for any issuing merchant determined: comparing whether the preferential amount of the merchant is equal to the verification amount, if so, determining that the preferential amount of the merchant and the verification amount meet the preset condition.
9. The apparatus of claim 7, wherein the issue amount statistics module is specifically configured to:
determining issuing merchants of coupons to be checked according to the determined issuing merchant information;
for any issuing merchant determined: determining the issuing time period of each coupon to be checked issued by the merchant according to the determined issuing time information;
for any of the determined dispensing periods for any of the dispensing merchants: counting the amount of the issued coupons to be checked by the target, wherein the coupons to be checked by the target are: among the coupons to be checked, the coupon issued by the issuing merchant in the issuing period;
the amount checking module is specifically configured to:
for any of the determined dispensing periods for any of the dispensing merchants: determining the total issuing amount of coupons issued by the merchant in the time period according to the pre-recorded issuing details; and comparing whether the counted dispensing amount is not greater than the dispensing total amount, and if so, determining that the dispensing amount meets the preset condition.
10. The apparatus of claim 7, further comprising an issue period determination module for, after determining coupon information for each coupon to be verified in the set:
determining whether the target period is the issuing period of the coupon to be checked according to the determined issuing time information;
in the case that the target period is a dispensing period, the dispensing amount statistics module is further configured to:
counting the issued amount in the target period according to the determined amount information; and
the device also comprises a pickup amount counting module for:
counting the pickup amount in the target period according to the determined coupon identification and a pre-recorded pickup detail;
the amount checking module is further configured to:
checking whether the counted issued amount and the picked amount meet preset conditions.
11. The apparatus of claim 10, the amount checking module being specifically configured to:
comparing whether the counted issued amount is equal to the pickup amount; if the amount of the money is equal to the amount of the money to be received, the amount of the money to be received and the amount of the money to be received are determined to accord with the preset condition.
12. The apparatus of claim 11, the amount checking module further specifically configured to:
if the issued amount is larger than the pickup amount, counting the non-pickup amount in the target period according to the coupon identification, the pre-recorded issuing details and the pickup details;
comparing whether the issued amount is equal to the sum of the pickup amount and the undelivered amount; if the sum is equal to the preset value, the issuing sum and the receiving sum are determined to accord with the preset condition.
13. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 6 when the program is executed by the processor.
CN201811230570.4A 2018-10-22 2018-10-22 Coupon amount checking method and device Active CN109509020B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811230570.4A CN109509020B (en) 2018-10-22 2018-10-22 Coupon amount checking method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811230570.4A CN109509020B (en) 2018-10-22 2018-10-22 Coupon amount checking method and device

Publications (2)

Publication Number Publication Date
CN109509020A CN109509020A (en) 2019-03-22
CN109509020B true CN109509020B (en) 2023-10-17

Family

ID=65745867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811230570.4A Active CN109509020B (en) 2018-10-22 2018-10-22 Coupon amount checking method and device

Country Status (1)

Country Link
CN (1) CN109509020B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109993524A (en) * 2019-03-29 2019-07-09 深圳前海微众银行股份有限公司 Card certificate management method, device, equipment and computer readable storage medium
CN110264232B (en) * 2019-04-30 2023-10-27 创新先进技术有限公司 Data processing method and device for delayed verification of ticket
CN111833111A (en) * 2020-07-23 2020-10-27 范留伟 Client database construction and flow-guiding rebate system based on product sales platform
CN112053191A (en) * 2020-09-02 2020-12-08 苏宁云计算有限公司 Commodity future information acquisition method and device, computer equipment and storage medium
CN116739662B (en) * 2023-08-14 2024-02-20 广州淘通科技股份有限公司 Abnormality detection method, device and system for electronic coupon information

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW548565B (en) * 2000-01-31 2003-08-21 Goldman Sachs & Co Online sales risk management system
CN101751635A (en) * 2008-12-22 2010-06-23 中国移动通信集团辽宁有限公司 Point reward exchanging system, device and method
CN101840560A (en) * 2010-05-04 2010-09-22 重庆市公众城市一卡通中心 Electronic voucher purchase and payment system and method based on all-in-one card platform
CN102576445A (en) * 2009-10-16 2012-07-11 微软公司 Viral distribution and tracking of electronic coupons
CN102930603A (en) * 2012-09-25 2013-02-13 捷达威数位科技股份有限公司 Ticketing system and method thereof
CN104867009A (en) * 2015-05-18 2015-08-26 苏州海博智能系统有限公司 Intelligent card, quota control system thereof, and quota control method thereof
CN105447715A (en) * 2015-11-03 2016-03-30 北京京东尚科信息技术有限公司 Method and apparatus for anti-theft electronic coupon sweeping by cooperating with third party
CN107730064A (en) * 2017-02-28 2018-02-23 西安艾润物联网技术服务有限责任公司 Reward voucher provides control method and device
CN107767151A (en) * 2016-08-15 2018-03-06 平安银行股份有限公司 Processing method, device and the server of favor information
CN108596653A (en) * 2018-04-04 2018-09-28 顺丰科技有限公司 A kind of discount coupon is abnormal to use detecting system, method, equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6321208B1 (en) * 1995-04-19 2001-11-20 Brightstreet.Com, Inc. Method and system for electronic distribution of product redemption coupons
US7228285B2 (en) * 1999-12-01 2007-06-05 Catalina Marketing Corporation Automated method and system for automated tracking, charging and analysis of multiple sponsor discount coupons
US20130030875A1 (en) * 2011-07-29 2013-01-31 Panasonic Corporation System and method for site abnormality recording and notification

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW548565B (en) * 2000-01-31 2003-08-21 Goldman Sachs & Co Online sales risk management system
CN101751635A (en) * 2008-12-22 2010-06-23 中国移动通信集团辽宁有限公司 Point reward exchanging system, device and method
CN102576445A (en) * 2009-10-16 2012-07-11 微软公司 Viral distribution and tracking of electronic coupons
CN101840560A (en) * 2010-05-04 2010-09-22 重庆市公众城市一卡通中心 Electronic voucher purchase and payment system and method based on all-in-one card platform
CN102930603A (en) * 2012-09-25 2013-02-13 捷达威数位科技股份有限公司 Ticketing system and method thereof
CN104867009A (en) * 2015-05-18 2015-08-26 苏州海博智能系统有限公司 Intelligent card, quota control system thereof, and quota control method thereof
CN105447715A (en) * 2015-11-03 2016-03-30 北京京东尚科信息技术有限公司 Method and apparatus for anti-theft electronic coupon sweeping by cooperating with third party
CN107767151A (en) * 2016-08-15 2018-03-06 平安银行股份有限公司 Processing method, device and the server of favor information
CN107730064A (en) * 2017-02-28 2018-02-23 西安艾润物联网技术服务有限责任公司 Reward voucher provides control method and device
CN108596653A (en) * 2018-04-04 2018-09-28 顺丰科技有限公司 A kind of discount coupon is abnormal to use detecting system, method, equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"谈谈代金券的管理与核算";朱延涛等;《中国农业会计》;20050831;第16-18页,全文 *
Juan J. S'nchez-Silos等."An NFC-Based Solution for Discount and Loyalty Mobile Coupons".《2012 4th International Workshop on Near Field Communication》.2012, *

Also Published As

Publication number Publication date
CN109509020A (en) 2019-03-22

Similar Documents

Publication Publication Date Title
CN109509020B (en) Coupon amount checking method and device
CN108876380B (en) Transaction method and system based on centralized settlement and block chain deposit certificate
CN109242453B (en) Transaction method and system based on centralized settlement and block chain deposit certificate
CN109377216B (en) Transaction method and system based on centralized settlement and block chain deposit certificate
CN110163612B (en) Payment wind control method and device
CN109961365B (en) Account receiving record processing method and system based on block chain intelligent contract
CN109615353B (en) Payment method and device
CN108134944B (en) Identification method and device for anchor user with abnormal income and electronic equipment
CN112580986A (en) Method and device for credit evaluation of copyright user based on block chain
CN110020846B (en) Transfer service processing method and system
CN109146148B (en) Method and device for determining reason of balance prediction deviation
CN112101939A (en) Node management method and system based on block chain
CN109615379B (en) Generating method and device of rejection processing system
CN110033362B (en) Money drawing method, device and equipment
CN110175915B (en) Service execution result obtaining method and system based on block chain
CN111754329A (en) Loan interest settlement method, loan interest settlement device, electronic equipment and storage medium
CN103677668B (en) A kind of method and device of movable storage device detection
CN109409875A (en) A kind of bill method of calibration, device and electronic equipment
CN110490694B (en) Credit service configuration method and device and electronic equipment
CN110175924B (en) Risk network construction method and device
CN110148044B (en) Method and device for setting buffering threshold for accounting
CN110020931B (en) Accounting and abnormal business identification method and device
CN106909553B (en) Data validity determination method and device
CN111415151A (en) Identification method and device for chain commercial tenant, electronic equipment and storage medium
CN112001661A (en) Method, device, equipment and medium for updating wind measurement grade

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: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

GR01 Patent grant
GR01 Patent grant