A method, device, equipment, medium and program product for issuing a redemption code

By generating prize redemption codes through encryption algorithms and verifying the redemption conditions on the redemption page, the problem of redemption code storage file theft is solved, the redemption codes and prizes are safely distributed, and the user experience and marketing effect are improved.

CN119671639BActive Publication Date: 2025-10-10INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411728869.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-10-10
Estimated Expiration
2044-11-28

AI Technical Summary

Technical Problem

The existing redemption code distribution method is prone to causing the marketing platform to crash and the redemption code storage file to be stolen, resulting in the illegal collection of redemption codes and prizes, affecting user experience and the achievement of marketing goals.

Method used

An encryption algorithm is used to generate the prize redemption code, which is encrypted by combining user information, activity information, winning time and random numbers. The redemption conditions are verified through the prize redemption page to ensure the security and legality of the redemption code.

Benefits of technology

It reduces the risk of redemption codes and prizes being misclaimed, improves the user's participation experience, and ensures that marketing goals are achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119671639B_ABST
    Figure CN119671639B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a kind of exchange code issuing method, device, equipment, medium and program product, involve the field of financial technology, comprising: when receiving the award request of first user, detect whether to satisfy the exchange code issuing condition of first user;If yes, then using preset encryption algorithm, the user information of first user, user participation activity information, winning time information, prize information and random number are encrypted, and prize exchange code is obtained;Prize exchange code and prize exchange page address information are fed back to first user, so that first user can receive exchange prize when meeting exchange code exchange condition;In response to the display request of prize exchange page, the input prompt box of prize exchange code is displayed;When it is determined that the target exchange code input by second user through input prompt box meets the exchange condition, it is determined that the prize matched with prize exchange code is exchanged for second user, which reduces the risk of exchange code and prize being fraudulently claimed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of financial technology, and in particular to a redemption code issuance method, device, equipment, medium and program product. Background Art

[0002] At present, users are usually encouraged to participate in activities actively by giving them different types of prizes after they complete a certain activity, thereby cultivating user usage habits and improving user stickiness.

[0003] The existing prize distribution method is usually to directly distribute the prize to the user, or to manually extract the prize redemption code from a pre-uploaded redemption code storage file and distribute it to the user, so that the user can redeem the prize according to the prize redemption code.

[0004] However, due to the high concurrent volume of prize redemptions, directly distributing prizes to users can easily cause the marketing platform to crash, thereby affecting the user experience. Secondly, while manually extracting redemption codes from the redemption code storage file and distributing them to users provides a certain buffering effect compared to directly distributing prizes to users, if the redemption code storage file is stolen, it is easy for all the prize redemption codes in the redemption code storage file to be illegally claimed, thus failing to achieve marketing objectives. Summary of the Invention

[0005] The present invention provides a redemption code issuance method, apparatus, device, medium, and program product, which reduce the risk of redemption codes and prizes being fraudulently claimed, enhance the user's participation experience, and ensure that marketing objectives are achieved.

[0006] In a first aspect, an embodiment of the present invention provides a method for issuing a redemption code, comprising:

[0007] Upon receiving a prize claim request from the first user, detecting whether a redemption code issuance condition for the first user is met;

[0008] If so, a preset encryption algorithm is used to encrypt the first user's user information, user participation activity information, winning time information, prize information, and random number to obtain a prize redemption code;

[0009] Feeding back the prize redemption code and the address information of the prize redemption page to the first user, so that the first user can collect the redemption prize when the redemption conditions of the redemption code are met;

[0010] In response to a request to display a prize redemption page, displaying a prompt box for inputting a prize redemption code;

[0011] When it is determined that the target redemption code input by the second user received through the input prompt box meets the redemption condition, it is determined that the second user is redeemed for a prize matching the target redemption code.

[0012] Optionally, detecting whether the conditions for issuing a redemption code to the first user are met includes: obtaining the number of times the prize has been received for the prize claim request, and detecting whether the number of times the prize has been received exceeds a preset prize claim threshold; if it is detected that the number of times the prize has been received does not exceed the preset prize claim threshold, determining whether the prize claim request is a repeated submission, and if so, sending a reminder message to the first user indicating that the prize claim request has been submitted repeatedly; otherwise, determining that the conditions for issuing a redemption code to the first user are met; if it is detected that the number of times the prize has been received exceeds the preset prize claim threshold, sending a reminder message to the first user indicating that the prize claim activity has ended.

[0013] Optionally, a preset encryption algorithm is used to encrypt the first user's user information, user activity participation information, winning time information, prize information and random number to obtain a prize redemption code, including: using a first preset password to encrypt the first user's user information, user activity participation information, winning time information, prize information and random number respectively; combining the separately encrypted user information, user activity participation information, winning time information, prize information and random number to generate a redemption code to be encrypted; using a second preset password to encrypt the redemption code to be encrypted to obtain a prize redemption code.

[0014] Optionally, determining whether the target redemption code input by the second user received through the input prompt box meets the redemption conditions includes: obtaining the number of times the target redemption code input by the second user has been redeemed, and when the number of times it has been redeemed is less than or equal to a preset redemption number threshold, obtaining the user information of the second user; if the user information of the second user is consistent with the user information of the first user, determining whether the number of redemptions of the second user is less than or equal to the preset redemption number threshold; if so, after decrypting the target redemption code to obtain the prize information, obtaining the prize batch number corresponding to the prize information; if the current number of prizes under the prize batch number is greater than the preset prize number threshold, determining that the target redemption code input by the second user received through the input prompt box meets the redemption conditions.

[0015] Optionally, the address information of the prize redemption page is in the form of a QR code or a uniform resource locator, so that users can open the prize redemption page through different channels.

[0016] Optionally, after determining that the prize that matches the target redemption code is redeemed for the second user, the process also includes: after redeeming the prize that matches the target redemption code for the second user, reducing the inventory of the prize redeemed by the second user by one, and detecting whether the second user has successfully redeemed the prize that matches the target redemption code; if so, sending a prompt message to the second user indicating that the prize redemption is successful; if not, returning to executing the operation of redeeming the prize that matches the target redemption code for the second user until it is detected that the second user has successfully redeemed the prize that matches the target redemption code.

[0017] In a second aspect, the embodiments of the present application further provide an exchange code issuing device, comprising:

[0018] An issuing condition verification module is configured to, when receiving a prize claiming request of the first user, detect whether an exchange code issuing condition for the first user is met;

[0019] An exchange code generation module is configured to, if the exchange code issuing condition is met, encrypt the user information of the first user, the user participation activity information, the winning time information, the prize information and the random number by using a preset encryption algorithm to obtain the prize exchange code;

[0020] An exchange information feedback module is configured to feed back the prize exchange code and address information of a prize exchange page to the first user, so that the first user can claim the prize when the exchange code exchange condition is met;

[0021] An exchange code input module is configured to, in response to a display request of the prize exchange page, display an input prompt box of the prize exchange code;

[0022] An exchange condition verification module is configured to, when determining that the target exchange code input by the second user through the input prompt box meets the exchange condition, determine that the second user exchanges the prize matched with the target exchange code.

[0023] In a third aspect, the embodiments of the present application further provide an electronic device, comprising:

[0024] at least one processor; and

[0025] a memory connected with the at least one processor in communication; wherein

[0026] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the exchange code issuing method provided by any of the embodiments of the present application.

[0027] In a fourth aspect, the embodiments of the present application further provide a computer readable storage medium, which stores computer instructions, and the computer instructions are used to enable a processor to implement the exchange code issuing method provided by any of the embodiments of the present application when executed.

[0028] In a fifth aspect, the embodiments of the present application further provide a computer program product, which comprises a computer program, and the computer program implements the exchange code issuing method provided by any of the embodiments of the present application when executed by a processor.

[0029] The technical solution of the embodiment of the present invention, by receiving the prize collection request of the first user and detecting that the conditions for issuing the redemption code to the first user are met, automatically generates a prize redemption code based on the user information of the first user, user participation activity information, winning time information, prize information and random number, and issues it to the user, can achieve the allocation of prize redemption codes to each user one by one, avoids the method of issuing redemption codes to users through pre-stored redemption code storage files, which is prone to theft of redemption code storage files, resulting in illegal redemption codes, reduces the risk of redemption codes and prizes being misappropriated, improves the user's participation experience, and ensures that marketing goals are achieved.

[0030] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0032] Figure 1 This is a flow chart of a redemption code issuing method provided according to the first embodiment of the present invention;

[0033] Figure 2 This is a flow chart of another redemption code issuance method provided in accordance with the second embodiment of the present invention;

[0034] Figure 3 is a schematic diagram illustrating a process for obtaining and redeeming a redemption code according to an embodiment of the present invention;

[0035] Figure 4 This is a flow chart of a preferred method for redeeming codes and distributing prizes according to an embodiment of the present invention;

[0036] Figure 5 This is a structural diagram of a redemption code issuing device provided according to the third embodiment of the present invention;

[0037] Figure 6 It is a structural diagram of an electronic device provided by the fourth embodiment of the present invention. DETAILED DESCRIPTION

[0038] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.

[0039] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0040] Example 1

[0041] Figure 1 This is a flowchart of a redemption code issuance method provided according to Example 1 of the present invention. This embodiment is applicable to situations where redemption codes are issued. The method can be executed by a redemption code issuance device. The redemption code issuance device can be implemented in the form of hardware and / or software. The redemption code issuance device can be configured in an electronic device such as a computer.

[0042] like Figure 1 As shown, a redemption code issuance method disclosed in this embodiment includes:

[0043] S110: Upon receiving a prize claim request from the first user, detecting whether a redemption code issuance condition for the first user is met.

[0044] In this embodiment, the first user may be the user who requests the redemption code. The redemption code issuance condition may be used to determine whether to issue the redemption code to the first user.

[0045] In this step, specifically, when receiving the prize claim request from the first user, it can be detected whether the conditions for issuing the redemption code to the first user are met based on the number of times the prize claim request has been submitted and / or the number of times the prize has been claimed. Exemplarily, it can be detected whether the conditions for issuing the redemption code to the first user are met based on the number of times the prize claim request has been submitted and a preset threshold of the number of submissions. Alternatively, it can be detected whether the conditions for issuing the redemption code to the first user are met based on the number of times the prize has been claimed and a preset threshold of the number of claims. Alternatively, it can be detected whether the conditions for issuing the redemption code to the first user are met based on the number of times the prize has been claimed, a preset threshold of the number of claims, the number of times the prize claim request has been submitted, and the threshold of the number of submissions. Alternatively, it can be detected whether the conditions for issuing the redemption code to the first user are met based on the number of times the prize has been claimed, a preset threshold of the number of claims, the number of times the prize claim request has been submitted, and the threshold of the number of submissions.

[0046] S120: If the redemption code issuance conditions for the first user are met, a preset encryption algorithm is used to encrypt the first user's user information, user activity participation information, winning time information, prize information, and random number to obtain a prize redemption code.

[0047] In this embodiment, the user information of the first user includes at least the user ID of the first user. The user participation activity information is used to reflect the marketing activity information in which the first user participated and in which the redemption code can be obtained. The marketing activity information includes at least the marketing activity number. The winning time information may be the time when the first user's prize claim request was received. The winning time information may be accurate to the millisecond. The prize information includes at least the number of the prize awarded to the first user.

[0048] In this step, specifically, the first user's user information, user activity participation information, winning time information, prize information, and random number can be encrypted according to the first preset password and / or the second preset password to obtain a prize redemption code. For example, the first user's user information, user activity participation information, winning time information, prize information, and random number can be encrypted according to the first preset password, and the encrypted user information, user activity participation information, winning time information, prize information, and random number can be combined to obtain the prize redemption code. Alternatively, after combining the first user's user information, user activity participation information, winning time information, prize information, and random number to obtain an information combination result, the information combination result can be encrypted according to the second preset password to obtain the prize redemption code. Alternatively, after encrypting the first user's user information, user activity participation information, winning time information, prize information, and random number using the first preset password, the encrypted user information, user activity participation information, winning time information, prize information, and random number are combined to obtain a redemption code to be encrypted, and the redemption code to be encrypted using the second preset password to obtain the prize redemption code. The number of digits in the random number can be determined based on user needs and is not limited in this embodiment.

[0049] S130: Feedback the prize redemption code and the address information of the prize redemption page to the first user, so that the first user can receive the redemption prize when the redemption conditions of the redemption code are met.

[0050] In this step, specifically, the prize redemption code and the address information of the prize redemption page can be fed back to the first user, so that the first user can open the prize redemption page according to the address information of the prize redemption page and verify on the prize redemption page whether the redemption code redemption conditions are met.

[0051] S140: In response to the request to display the prize redemption page, a prompt box for inputting the prize redemption code is displayed.

[0052] S150: When it is determined that the target redemption code input by the second user via the input prompt box meets the redemption condition, determine to redeem a prize matching the target redemption code for the second user.

[0053] In this embodiment, the second user may be the first user or another user.

[0054] Specifically, in this step, upon receiving the target redemption code input by the second user, a determination can be made as to whether the target redemption code input by the second user meets the redemption conditions based on at least one of the number of times the target redemption code has been redeemed, the second user's user information, the prize information in the target redemption code, and the second user's number of prize redemptions. Then, if it is determined that the target redemption code input by the second user, as received through the input prompt box, meets the redemption conditions, redemption is performed for the second user for the prize matching the target redemption code. If it is determined that the target redemption code input by the second user, as received through the input prompt box, does not meet the redemption conditions, a prompt message is sent to the second user stating that the target redemption code does not meet the redemption conditions and that the user is requested to re-enter the target redemption code.

[0055] The technical solution of this embodiment is to detect whether the conditions for issuing a redemption code to the first user are met when receiving a prize collection request from the first user; if so, a preset encryption algorithm is used to encrypt the user information, user participation activity information, winning time information, prize information and random number of the first user to obtain a prize redemption code; the prize redemption code and the address information of the prize redemption page are fed back to the first user so that the first user can collect the redemption prize when the redemption conditions of the redemption code are met; in response to a request to display the prize redemption page, an input prompt box for the prize redemption code is displayed; when it is determined that the target redemption code input by the second user received through the input prompt box meets the redemption conditions, a technical means is used to determine that the second user redeems the prize that matches the target redemption code. This solves the problem that the existing technology issues redemption codes to users through pre-stored redemption code storage files, which is prone to theft of redemption code storage files, thereby causing redemption codes to be illegally collected, reduces the risk of redemption codes and prizes being misappropriated, improves the user's participation experience, and ensures that marketing goals are achieved.

[0056] Example 2

[0057] Figure 2 2 is a flowchart of another redemption code issuance method provided according to the second embodiment of the present invention. This embodiment is a further optimization and expansion based on the above embodiments and can be combined with various optional technical solutions in the above implementation methods.

[0058] like Figure 2 As shown, a redemption code issuance method disclosed in this embodiment includes:

[0059] S210: When receiving a prize claiming request from the first user, obtain the number of prize claims received in the prize claiming request.

[0060] S220, detecting whether the number of times the prize has been received exceeds the preset prize receiving number threshold, if so, executing S230, if not, executing S240.

[0061] In this embodiment, the prize claiming times threshold value can be determined based on the total inventory of prizes requested for claiming. For example, the prize claiming times threshold value can be set equal to the total inventory of prizes requested for claiming.

[0062] S230: Sending a prompt message to the first user indicating that the award claiming activity has ended.

[0063] For example, if the preset prize claim threshold is equal to the total inventory of prizes requested, then when it is detected that the number of prizes claimed exceeds the preset prize claim threshold, it can be determined that the inventory of prizes requested is insufficient, and a prompt message is sent to the first user that the prize claim activity has ended, thereby avoiding the number of redemption codes issued to users exceeding the total number of prizes, thereby improving user satisfaction.

[0064] S240, determining whether the award request is a repeated submission, if yes, performing S250, if no, performing S260.

[0065] In this step, specifically, if the number of times of awarding has not exceeded the preset threshold of the number of times of awarding, it can be determined whether the award request is a repeated submission according to the number of times of submission of the award request and the preset threshold of the number of times of submission. Preferably, the preset threshold of the number of times of submission can be 1.

[0066] S250, sending prompt information of repeated submission of the award request to the first user.

[0067] In this step, specifically, if the award request is a repeated submission, the prompt information of repeated submission of the award request is sent to the first user.

[0068] The advantage of this setting is that by determining whether the award request is a repeated submission, it can be avoided that multiple different exchange codes are allocated to the user who continuously sends the same award request, and thus the accurate distribution of the exchange code is realized.

[0069] S260, determining that the exchange code distribution condition for the first user is met, and using the first preset password to respectively encrypt the user information, the user participation information, the winning time information, the prize information and the random number of the first user.

[0070] S270, combining the respectively encrypted user information, user participation information, winning time information, prize information and random number to generate a to-be-encrypted exchange code; using the second preset password to encrypt the to-be-encrypted exchange code to obtain the prize exchange code.

[0071] In this step, specifically, the assembly order corresponding to the respectively encrypted user information, user participation information, winning time information, prize information and random number can be obtained, and the respectively encrypted user information, user participation information, winning time information, prize information and random number are combined according to the assembly order to obtain the to-be-encrypted exchange code. The assembly order of the respectively encrypted user information, user participation information, winning time information, prize information and random number can be set arbitrarily according to user demand, and the embodiment does not limit this.

[0072] The advantage of this setting is that by using the first preset password and the second preset password to encrypt the user information, user participation information, winning time information, prize information and random number, it can be avoided that the prize exchange code is easily obtained by the prize exchange code thief, and the risk of prize theft is reduced.

[0073] S280: Feedback the prize redemption code and the address information of the prize redemption page to the first user, so that the first user can receive the redemption prize when the redemption conditions of the redemption code are met.

[0074] Optionally, the address information of the prize redemption page is in the form of a QR code or a uniform resource locator, so that users can open the prize redemption page through different channels.

[0075] Specifically, the prize redemption code and the address information in the form of a uniform resource locator can be fed back to the first user together, so that the user can directly click or copy and paste the address information in the form of a uniform resource locator to enter the prize redemption page. Alternatively, the prize redemption code and the address information in the form of a QR code can be fed back to the first user together, so that the user can jump to the prize redemption page by scanning the code with a mobile phone.

[0076] The advantage of this arrangement is that, compared to the method of directly distributing prizes to users, the technical solution of this embodiment first issues a prize redemption code and the address information of the prize redemption page, and then uses the prize redemption code and the address information of the prize redemption page to redeem the prize. While playing a diversion and buffering role, it also avoids the situation where the marketing platform that distributes the prizes does not have the permission to open the prize receiving software, which leads to the failure of the prize distribution. Secondly, by providing the user with the address information in the form of a QR code or a uniform resource locator, it is convenient for the user to achieve an operation similar to receiving the prize redemption code on the computer, but redeeming the prize on the mobile phone, breaking the channel restriction and improving the user's prize redemption experience.

[0077] S290. In response to a request to display a prize redemption page, display an input prompt box for the prize redemption code; when it is determined that the target redemption code received from the second user through the input prompt box meets the redemption conditions, determine to redeem the prize matching the target redemption code for the second user.

[0078] In an optional embodiment, the number of times the target redemption code input by the second user has been redeemed may be obtained, and a determination may be made as to whether the number of times the target redemption code has been redeemed is less than or equal to a preset redemption threshold. If the number of times the target redemption code has been redeemed is less than or equal to the preset redemption threshold, the user information of the second user may be obtained. If the number of times the target redemption code has been redeemed is greater than the preset redemption threshold, a notification message indicating that the target redemption code has ended is sent to the second user.

[0079] After obtaining the second user's user information, a determination can be made as to whether the second user's user information is consistent with the first user's. If the second user's user information is inconsistent with the first user's user information, a message is sent to the user indicating that the prize cannot be redeemed by someone other than the user. If the second user's user information is consistent with the first user's user information, a determination can be made as to whether the second user's number of redemptions is less than or equal to a preset redemption threshold. The first user's user information can be obtained by decrypting the target redemption code.

[0080] If the number of times the second user redeems a prize is greater than the preset prize redemption threshold, a prompt message is sent to the second user that the number of times the prize redemption has exceeded the limit. If the number of times the second user redeems a prize is less than or equal to the preset prize redemption threshold, after decrypting the target redemption code to obtain the prize information, the prize batch number corresponding to the prize information is obtained. Among them, the prize batch number can be used to reflect the type of prize, such as coupons for different software. If the current number of prizes under the prize batch number is less than or equal to the preset prize quantity threshold, a prompt message is sent to the second user that the prize redemption has ended. If the current number of prizes under the prize batch number is greater than the preset prize quantity threshold, it is determined that the target redemption code received from the second user through the input prompt box meets the redemption conditions. Among them, the preset prize quantity threshold can be set according to user needs, such as 0.

[0081] The advantage of this setting is that, through the number of times the target redemption code has been redeemed, the user information of the second user, the prize information in the target redemption code, and the number of times the second user has redeemed the prize, it is determined that the target redemption code received from the second user through the input prompt box meets the redemption conditions. This can accurately verify whether the second user can redeem the prize according to the target redemption code, reducing the risk of the prize being misclaimed.

[0082] Optionally, after determining that the prize redeemed for the second user matches the target redemption code, the method further includes: after redeeming the prize matching the target redemption code for the second user, subtracting one from the inventory of the prize redeemed by the second user, and detecting whether the second user has successfully redeemed the prize matching the target redemption code; if so, sending a prompt message of successful prize redemption to the second user; if not, after adding one to the inventory of the prize redeemed by the second user, returning to the operation of redeeming the prize matching the target redemption code for the second user, until it is detected that the second user has successfully redeemed the prize matching the target redemption code.

[0083] The advantage of this setting is that by adding one to the inventory of the prize redeemed by the second user when it is detected that the second user has not successfully redeemed the prize that matches the target redemption code, the accuracy of the prize inventory can be improved, avoiding the situation where the prize redemption is terminated when there are still prizes remaining, improving the user experience of participating in the prize redemption activity, and improving the marketing effect.

[0084] The technical solution of this embodiment generates a prize redemption code through a first preset password and a second preset password, which can prevent the unauthorized use of the prize redemption code from easily obtaining the first user's user information and prize information, thereby reducing the risk of prize theft, improving the user's prize redemption experience, and enhancing marketing effectiveness. Secondly, by first issuing the prize redemption code and the address information of the prize redemption page, and then using the prize redemption code and the address information of the prize redemption page to redeem the prize, while playing a diversion and buffering role, it is possible to collect the redemption code and prize through different channels, further enhancing the user's prize redemption experience and improving marketing effectiveness.

[0085] In a preferred embodiment, the redemption code collection and redemption process of the present invention can be realized through the interaction between the operation platform, the channel side and the user. Figure 3 As shown, after configuring transaction touchpoints and prize resources associated with online marketing activities, the operation platform can display a marketing activity page on the channel side in response to a user's request to participate in the marketing activity triggered by the channel side. Upon detecting that a user has completed the activity displayed on the marketing activity page, the channel side can display a lottery page to the user and, if the user wins the lottery, send the user's prize claim request to the operation platform. Upon receiving the user's prize claim request, the operation platform can generate a prize redemption code using the redemption code generation and issuance module and display the prize redemption code and the address of the prize redemption page on the channel side. The channel side can send a user request to display the prize redemption page to the operation platform. Upon receiving the user's request to display the prize redemption page, the operation platform can display a prize redemption code input prompt on the channel side. Upon receiving the prize redemption code entered by the user in the input prompt, the redemption code verification and cancellation module verifies the prize redemption code. It is worth noting that the channel side requesting prize redemption can be different from the channel side requesting redemption code collection.

[0086] Furthermore, taking the example of organizing an event through corporate online banking channels and issuing instant discount redemption codes to the winners of the event, first, after detecting that the user has completed the payment transaction, the lottery page can be displayed to the user. Specifically, the winning probability can be set to 50%, the maximum number of winnings for each user during the event is 3 times, and the total number of instant discounts is 100. Then, Figure 4As shown, after receiving the prize claim request from the first user (that is, the winning user), it can be determined whether the number of times the instant discount has been claimed exceeds 100. If the number of times the instant discount has been claimed exceeds 100, a prompt message is sent to the first user that the prize claim activity has ended. If the number of times the instant discount has been claimed does not exceed 100, it is determined whether the prize claim request is a repeated submission. If it is a repeated submission, a repeated prompt message is sent to the first user to prevent the first user from continuously clicking to claim multiple prize redemption codes. If it is not a repeated submission, a prize redemption code is generated based on the first user's user information, user activity participation information, winning time information, prize information and random number, and the first user's user information, user activity participation information and winning time information are registered. Among them, the prize redemption code generated based on each prize claim request is different. After registering the first user's user information, user participation activity information and winning time information, it can be detected whether the prize redemption code has been successfully generated. If so, the prize redemption code and the address information of the prize redemption page will be fed back to the first user. Otherwise, a failure log will be recorded and an error message will be prompted to allow the first user to collect the prize again.

[0087] After the prize redemption code and the address information of the prize redemption page are fed back to the first user, if the target redemption code entered by the second user on the prize redemption page is received, it is determined whether the target redemption code has been used the number of times it has been redeemed. If so, the second user is prompted that the redemption code has been used. If not, it is determined based on the user information of the first user and the user information of the second user whether the prize has been redeemed by someone other than the user himself. If the prize has been redeemed by someone other than the user himself, a prompt is given that the prize cannot be redeemed by someone other than the user himself. If the prize has been redeemed by the user himself, it is determined whether the second user's number of redemptions is greater than the preset prize redemption threshold. If so, a prompt is given that the corresponding activity has exceeded the prize redemption limit. If not, the prize redemption page is entered to claim the prize redemption resources, and the inventory of the prize redeemed by the second user is reduced by one. After the inventory of the prize redeemed by the second user is reduced by one, it is detected whether the second user has successfully redeemed the prize that matches the target redemption code. If the second user has successfully redeemed the prize that matches the target redemption code, a prompt message indicating that the prize redemption is successful is sent to the second user. If the second user fails to successfully redeem the prize that matches the target redemption code, after updating the prize inventory, recording the failure log and prompting the prize redemption failure, it returns to receive the target redemption code re-entered by the second user on the prize redemption page until it is detected that the second user has successfully redeemed the prize that matches the target redemption code.

[0088] It should be noted that the user-related information collected by the present invention is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant countries and regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0089] Example 3

[0090] Figure 5 1 is a schematic diagram of the structure of a redemption code issuing device provided according to Example 3 of the present invention. This embodiment is applicable to situations where redemption codes are issued. The redemption code issuing device can be implemented in the form of hardware and / or software and can be configured in an electronic device such as a computer.

[0091] like Figure 5 As shown, the redemption code issuing device disclosed in this embodiment includes: an issuing condition verification module 51, a redemption code generation module 52, a redemption information feedback module 53, a redemption code input module 54 and a redemption condition verification module 55, wherein:

[0092] The issuance condition verification module 51 is used to detect whether the conditions for issuing the redemption code to the first user are met upon receiving the award request from the first user;

[0093] The redemption code generating module 52 is configured to, if yes, encrypt the first user's user information, user activity participation information, winning time information, prize information, and random number using a preset encryption algorithm to obtain a prize redemption code;

[0094] The redemption information feedback module 53 is used to feed back the prize redemption code and the address information of the prize redemption page to the first user, so that the first user can collect the redemption prize when the redemption conditions of the redemption code are met;

[0095] The redemption code input module 54 is used to display a prompt box for inputting a prize redemption code in response to a request to display a prize redemption page;

[0096] The redemption condition verification module 55 is configured to, when it is determined that the target redemption code input by the second user via the input prompt box meets the redemption condition, determine to redeem the prize matching the target redemption code for the second user.

[0097] The technical scheme in the embodiment solves the problem that the exchange code storage file is stolen and the exchange code is illegally collected by pre-storing the exchange code storage file to issue the exchange code to the user in the prior art, reduces the risk of the exchange code and the prize being fraudulently collected, improves the participation experience of the user, and ensures that the marketing purpose is achieved.

[0098] Optionally, the issuing condition verification module 51 is specifically configured to acquire the number of collected prizes of the request for collecting the prize, and detect whether the number of collected prizes exceeds a preset number of collected prize threshold; if it is detected that the number of collected prizes does not exceed the preset number of collected prize threshold, it is determined whether the request for collecting the prize is repeatedly submitted, and if yes, the first user is sent prompt information that the request for collecting the prize is repeatedly submitted, and if no, it is determined that the exchange code issuing condition for the first user is met; if it is detected that the number of collected prizes exceeds the preset number of collected prize threshold, the first user is sent prompt information that the prize collection activity has ended.

[0099] Optionally, the exchange code generation module 52 is specifically configured to encrypt the user information, the user participation activity information, the winning time information, the prize information and the random number of the first user by using a first preset password respectively; combine the encrypted user information, the encrypted user participation activity information, the encrypted winning time information, the encrypted prize information and the encrypted random number to generate a to-be-encrypted exchange code; and encrypt the to-be-encrypted exchange code by using a second preset password to obtain the prize exchange code.

[0100] Optionally, the exchange condition verification module 55 is specifically configured to acquire the number of exchanged times of the target exchange code input by the second user, and acquire the user information of the second user when the number of exchanged times is less than or equal to a preset number of exchanged times threshold; if the user information of the second user is consistent with the user information of the first user, it is determined whether the number of prize collection times of the second user is less than or equal to a preset number of prize collection times threshold; if yes, after the prize information is obtained by decrypting the target exchange code, the prize batch number corresponding to the prize information is acquired; and if the current number of prizes under the prize batch number is greater than a preset number of prize threshold, it is determined that the target exchange code input by the second user through the input prompt box meets the exchange condition.

[0101] Optionally, the address information of the prize exchange page is in the form of a two-dimensional code or a uniform resource locator, so that the user can open the prize exchange page through different channels.

[0102] Optionally, the device also includes a prize redemption module, which is used to: after redeeming the prize that matches the target redemption code for the second user, decrement the inventory of the prize redeemed by the second user by one, and detect whether the second user has successfully redeemed the prize that matches the target redemption code; if so, send a prompt message to the second user indicating that the prize redemption is successful; if not, after adding one to the inventory of the prize redeemed by the second user, return to execute the operation of redeeming the prize that matches the target redemption code for the second user, until it is detected that the second user has successfully redeemed the prize that matches the target redemption code.

[0103] The redemption code issuing device provided in the embodiment of the present invention can execute the redemption code issuing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For any content not fully described in this embodiment, please refer to the description of any method embodiment of this application.

[0104] Example 4

[0105] Figure 6 FIG. 1 shows a schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention. Figure 6 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0106] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0107] Processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. Processor 11 executes the various methods and processes described above, such as the redemption code issuance method.

[0108] In some embodiments, the redemption code issuance method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the redemption code issuance method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to execute the redemption code issuance method in any other suitable manner (e.g., by means of firmware).

[0109] Various embodiments of the systems and techniques described above can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0110] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0111] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store computer programs for use by or in connection with an instruction execution system, apparatus, or device. Computer-readable storage media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, 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.

[0112] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0113] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0114] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.

[0115] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.

[0116] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.

Claims

1. A method for issuing redemption codes, characterized in that: The method comprises: Upon receiving a prize claim request from the first user, detecting whether a redemption code issuance condition for the first user is met; If so, a preset encryption algorithm is used to encrypt the first user's user information, user participation activity information, winning time information, prize information, and random number to obtain a prize redemption code; Feeding back the prize redemption code and the address information of the prize redemption page to the first user, so that the first user can collect the redemption prize when the redemption conditions of the redemption code are met; In response to a request to display the prize redemption page, displaying a prompt box for inputting a prize redemption code; When it is determined that the target redemption code input by the second user via the input prompt box meets the redemption condition, redeeming the prize matching the target redemption code for the second user; Determining whether the target redemption code input by the second user via the input prompt box meets the redemption condition includes: Obtaining the number of times the target redemption code input by the second user has been redeemed, and obtaining user information of the second user when the number of times the target redemption code is redeemed is less than or equal to a preset redemption threshold; If the user information of the second user is consistent with the user information of the first user, determining whether the number of times the second user has redeemed a prize is less than or equal to a preset threshold number of times of redemption; If so, after decrypting the target redemption code to obtain the prize information, obtain the prize batch number corresponding to the prize information; If the current prize quantity under the prize batch number is greater than the preset prize quantity threshold, it is determined that the target redemption code input by the second user received through the input prompt box meets the redemption condition.

2. The method according to claim 1, characterized in that Checking whether the conditions for issuing a redemption code to the first user are met includes: Obtaining the number of prizes claimed for the prize claim request, and detecting whether the number of prizes claimed exceeds a preset prize claim threshold; If it is detected that the number of prize claims has not exceeded the preset prize claim threshold, determining whether the prize claim request is submitted repeatedly, and if so, sending a prompt message to the first user indicating that the prize claim request has been submitted repeatedly; if not, determining that the conditions for issuing a redemption code to the first user are met; If it is detected that the number of times the prize has been claimed exceeds a preset prize claim threshold, a prompt message indicating that the prize claim activity has ended is sent to the first user.

3. The method according to claim 1, characterized in that Using a preset encryption algorithm, the first user's user information, user participation activity information, winning time information, prize information, and random number are encrypted to obtain a prize redemption code, including: Encrypting the first user's user information, user activity participation information, winning time information, prize information, and random number using a first preset password; Combine the encrypted user information, user activity participation information, winning time information, prize information and random number to generate a redemption code to be encrypted; The redemption code to be encrypted is encrypted using a second preset password to obtain a prize redemption code.

4. The method according to claim 1, wherein The address information of the prize redemption page is in the form of a QR code or a uniform resource locator, so that users can open the prize redemption page through different channels.

5. The method according to claim 1, wherein After determining to redeem a prize matching the target redemption code for the second user, the method further includes: After redeeming the prize that matches the target redemption code for the second user, decrementing the inventory of the prize redeemed by the second user by one, and detecting whether the second user has successfully redeemed the prize that matches the target redemption code; If so, a prompt message is sent to the second user indicating that the prize has been successfully redeemed; If not, after adding one to the inventory of the prize redeemed by the second user, the process returns to executing the operation of redeeming the prize for the second user that matches the target redemption code until it is detected that the second user has successfully redeemed the prize that matches the target redemption code.

6. A redemption code issuing device, characterized in that: The device comprises: The issuance condition verification module is used to detect whether the conditions for issuing the redemption code to the first user are met upon receiving the award request from the first user; a redemption code generation module configured to, if yes, encrypt the first user's user information, user activity participation information, winning time information, prize information, and random number using a preset encryption algorithm to obtain a prize redemption code; The redemption information feedback module is used to feed back the prize redemption code and the address information of the prize redemption page to the first user, so that the first user can collect the redemption prize when the redemption conditions of the redemption code are met; A redemption code input module, configured to display a prompt box for inputting a prize redemption code in response to a request to display the prize redemption page; a redemption condition verification module, configured to, upon determining that the target redemption code input by the second user via the input prompt box satisfies the redemption condition, determine to redeem for the second user a prize matching the target redemption code; The exchange condition verification module is specifically used to: Obtaining the number of times the target redemption code input by the second user has been redeemed, and obtaining user information of the second user when the number of times the target redemption code is redeemed is less than or equal to a preset redemption threshold; If the user information of the second user is consistent with the user information of the first user, determining whether the number of times the second user has redeemed a prize is less than or equal to a preset threshold number of times of redemption; If so, after decrypting the target redemption code to obtain the prize information, obtain the prize batch number corresponding to the prize information; If the current prize quantity under the prize batch number is greater than the preset prize quantity threshold, it is determined that the target redemption code input by the second user received through the input prompt box meets the redemption condition.

7. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to perform the redemption code issuing method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the redemption code issuance method according to any one of claims 1 to 5 when executed.

9. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements the redemption code issuing method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Prize exchange method and device

    CN105512906A

  • Network exchange method and device

    CN106846042A