Coupon processing method, device and equipment
By determining the expiration status of coupons and providing reactivation tasks, the problem of resource waste and user experience after coupon expiration is solved. This enables flexible reactivation and personalized adaptation of coupons, improving user experience and resource utilization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-09
- Publication Date
- 2026-04-07
AI Technical Summary
Existing coupons expire and become invalid, resulting in wasted resources and a degraded user experience. Existing reminder solutions have limited effectiveness and fail to fully consider user behavior and preferences.
By determining whether a coupon has expired, a reactivation task is identified, and the coupon is reactivated after the user successfully completes the task. The validity period and discount capabilities can be flexibly adjusted to personalize and adapt to user needs.
This improves coupon utilization, reduces resource waste, enhances user experience, and makes it easier to match coupon availability with user shopping times, thereby increasing user satisfaction.
Smart Images

Figure CN121810345A_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of e-commerce technology, and in particular to a coupon processing method, apparatus, and device. Background Technology
[0002] With the widespread use of smartphones and the development of e-commerce technology, people can more freely purchase various physical goods or services through online platforms. In order to attract customers and encourage consumption, online platforms often offer various electronic coupons (such as discount coupons, coupons for spending over a certain amount, and coupons with red envelopes).
[0003] Coupons typically have a fixed expiration date, which renders them invalid once they expire. This results in a waste of online processing resources related to coupons (such as the resources consumed in the numerous processes of issuing, generating, recommending, and displaying coupons), and also reduces the user experience.
[0004] Currently, online platforms often try to address this issue by reminding users more frequently to use coupons that are about to expire; however, this approach has limited effectiveness.
[0005] Therefore, there is a need for coupon processing solutions that help avoid wasting online processing resources related to coupons and improve user experience. Summary of the Invention
[0006] This specification provides one or more embodiments of a coupon processing method, apparatus, device, and storage medium to solve the following technical problem: the need for a coupon processing solution that helps avoid wasting online processing resources related to coupons and helps improve user experience.
[0007] To solve the above-mentioned technical problems, one or more embodiments of this specification are implemented as follows: This specification provides a coupon processing method according to one or more embodiments, including: Determine if a user's coupon has expired; If the coupon is expired, a reactivation task corresponding to the coupon is determined so that the user can obtain the reactivation task; Determine whether the user has successfully executed the reactivation task; If so, the expired coupon will be reactivated to change its status to valid and available.
[0008] This specification provides a coupon processing device according to one or more embodiments, comprising: The coupon expiration detection module determines whether a user's coupon has expired. The reactivation task determination module determines the reactivation task corresponding to the coupon if the coupon is in an expired state, so that the user can obtain the reactivation task. The task execution judgment module determines whether the user has successfully executed the reactivation task; If so, the coupon reactivation module will reactivate the expired coupon to change its status to valid and usable.
[0009] This specification provides one or more embodiments of a coupon processing device, comprising: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform: Determine if a user's coupon has expired; If the coupon is expired, a reactivation task corresponding to the coupon is determined so that the user can obtain the reactivation task; Determine whether the user has successfully executed the reactivation task; If so, the expired coupon will be reactivated to change its status to valid and available.
[0010] This specification provides one or more embodiments of a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as follows: Determine if a user's coupon has expired; If the coupon is expired, a reactivation task corresponding to the coupon is determined so that the user can obtain the reactivation task; Determine whether the user has successfully executed the reactivation task; If so, the expired coupon will be reactivated to change its status to valid and available.
[0011] The above-described at least one technical solution adopted in one or more embodiments of this specification can achieve the following beneficial effects: enabling users to reactivate coupons after they expire by executing the corresponding reactivation task, thereby reusing the coupons and improving their utilization rate. This helps to avoid wasting online processing resources related to coupons. For users, there are also more opportunities to use coupons in terms of time, and the actual usability period of the coupons is more likely to coincide with the time when users want to shop, bringing benefits to users. Therefore, it helps to improve the user experience. Attached Figure Description
[0012] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0013] Figure 1 A flowchart illustrating a coupon processing method provided in one or more embodiments of this specification; Figure 2 Provided for one or more embodiments of this specification Figure 1 A schematic diagram of the main process of a specific implementation scheme of the method; Figure 3 Provided for one or more embodiments of this specification Figure 1 A schematic diagram of the system configuration management module used in a specific implementation scheme of the method; Figure 4 Provided for one or more embodiments of this specification Figure 1 A schematic diagram illustrating the coupon display format used in a specific implementation of the method; Figure 5 Provided for one or more embodiments of this specification Figure 1 A schematic diagram illustrating two reactivation task execution modes provided in a specific implementation scheme of the method; Figure 6 Provided for one or more embodiments of this specification Figure 1 A schematic diagram illustrating the working principle of the task recommendation module used in a specific implementation scheme of the method; Figure 7 Provided for one or more embodiments of this specification Figure 1 A schematic diagram illustrating the working principle of the coupon activation module used in one specific implementation scheme of the method; Figure 8A flowchart illustrating a scheme for converting discount capabilities when reactivating coupons, provided for one or more embodiments of this specification; Figure 9 This is a schematic diagram of the structure of a coupon processing device provided in one or more embodiments of this specification; Figure 10 This is a schematic diagram of the structure of a coupon processing device provided in one or more embodiments of this specification. Detailed Implementation
[0014] This specification provides a coupon processing method, apparatus, device, storage medium, and computer program product.
[0015] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this application.
[0016] Regarding the issues mentioned in the background technology, existing solutions primarily rely on reminders, using methods such as SMS, phone calls, emails, in-app messages, and in-app pop-up effects. By reminding users that coupons are about to expire, these solutions create a sense of urgency, encouraging users to use them. However, this approach has several drawbacks: First, once coupons expire, they become invalid, negatively impacting the user experience. Second, existing coupon reminder solutions depend mainly on fixed time points, failing to adequately consider users' real-time behavior and preferences, thus limiting their effectiveness. Third, users may not want to use coupons because they don't accurately match their needs, making further reminders a waste of resources. To address these issues, this application proposes a user behavior-driven method and system for reusing expired coupons, improving coupon usage efficiency and user experience. Furthermore, it provides optional and flexible solutions for converting and integrating the discount capabilities of coupons, making reactivated coupons more likely to meet user needs, thereby helping to avoid repeating the mistakes of previous coupon expirations.
[0017] Based on this overall approach, the following detailed description of the proposed solution will be provided.
[0018] Figure 1This diagram illustrates a coupon processing method provided in one or more embodiments of this specification. The method can be primarily executed by the online platform issuing the coupons (i.e., the corresponding server-side device), such as an e-commerce platform, payment platform, live streaming platform, video platform, gaming platform, or social networking platform. Additionally, corresponding front-end programs and devices can also assist in executing the steps of this process. Furthermore, where security mechanisms and processing capabilities permit, the front-end (typically a smartphone app client) can also be primarily executed.
[0019] Figure 1 The process includes the following steps: S102: Determine whether the user's coupon has expired.
[0020] The coupons mentioned in this application are marketing tools typically used on e-commerce platforms or in offline retail settings to attract consumers to purchase goods through discounts, spending thresholds, coupons, or free gifts. The goods can be physical or virtual, or even services without a physical form. Coupons are generally obtained in two ways: actively claimed by the user or automatically issued by the system. Coupons have an expiration date. Within the validity period, the coupon is activated and valid. After the expiration date, the coupon becomes expired. Optionally, users can view expired coupons for a certain period, after which the system can remove these expired coupons.
[0021] It should be emphasized that, under current technology, these types of coupons become unusable immediately upon expiration and are usually rendered invalid. Alternatively, if the coupon was purchased by the user, a refund may be issued accordingly.
[0022] In one or more embodiments of this specification, a scheme for conditionally reactivating expired coupons is provided. The specific coupons to be implemented can be decided according to actual needs. For example, platform administrators (such as operations personnel, R&D personnel, etc.) can pre-set that certain types of coupons support conditional reactivation, while other types of coupons do not support conditional reactivation.
[0023] For ease of description, assume... Figure 1 The coupons mentioned in the process support conditional reactivation. In this case, it's more important to pay attention to whether the user's coupon has expired. For example, methods such as scheduled tasks or monitoring tasks can be used to determine in a timely manner whether the user's coupon has expired. Alternatively, when the user actively selects a coupon, it can be checked whether the coupon has expired, and so on.
[0024] S104: If the coupon is expired, determine the reactivation task corresponding to the coupon so that the user can obtain the reactivation task.
[0025] In one or more embodiments of this specification, the correspondence between coupons and reactivation tasks is determined through pre-configuration or real-time intelligent selection.
[0026] Taking pre-configuration as an example, it can receive task configuration instructions sent by the administrator in advance; in response to the task configuration instructions, it establishes a correspondence between coupons and reactivation tasks. It can configure one or more corresponding reactivation tasks for a coupon. For multiple coupons, it can be specifically configured to reactivate the coupon, whether all of these reactivation tasks need to be used at the same time, or only a portion of the reactivation tasks need to be used, so that they can be provided to the user for execution.
[0027] Let's take real-time intelligent selection as an example. User characteristic data can be obtained; based on this data, one or more tasks can be matched from the available task set as the reactivation task corresponding to the coupon, so that the user can be notified accordingly. This allows for differentiated delivery of reactivation tasks more suitable for different users, helping to increase user motivation to perform reactivation tasks and reducing the difficulty for users to perform them. User characteristic data includes, for example, user historical behavior data and / or user profile data.
[0028] In one or more embodiments of this specification, the reactivation task can be a task that requires the user to perform some simple operations and can be completed relatively easily, thus helping to increase the user's enthusiasm for execution. For example, it can be a task such as browsing products, participating in game activities, completing information, forwarding and saving, or checking in. Based on this idea, the reactivation task can especially be a task that does not require the user to directly pay any benefit. For example, the reactivation task may not be a recharge task or a purchase task.
[0029] Furthermore, reactivation tasks can be designed more personally, tailored to individual user circumstances. For example, based on a user's knowledge of a specific domain, knowledge-based quizzes could be designed as reactivation tasks. This would be more engaging for users, increasing their sense of accomplishment and enjoyment, resulting in a better overall experience.
[0030] For reactivation tasks assigned to expired coupons, users can be proactively notified of these tasks, such as through push notifications or recommendations, so that they can access the reactivation tasks promptly. Alternatively, users can search for and retrieve the reactivation tasks themselves.
[0031] S106: Determine whether the user has successfully executed the reactivation task.
[0032] This function determines whether the user has successfully executed the reactivation task required to reactivate the coupon. Specifically, it might only require the user to execute one reactivation task related to the coupon; alternatively, it might require the user to execute all or multiple reactivation tasks related to the coupon; or it might require the user to execute a specified number of reactivation tasks from among all or multiple reactivation tasks related to the coupon; and so on. The specific reactivation condition can be set according to actual needs.
[0033] S108: If so, the coupon that is in an expired state will be reactivated so that the state of the coupon is changed to a valid and available state.
[0034] If a user successfully performs (or simply completes) the required reactivation task, the reactivation conditions are met, and the expired coupon can be reactivated.
[0035] Reactivated coupons have a new validity period, called the reactivation validity period. There are several ways to set the reactivation validity period. For example, you can use the previous validity period length and reset the validity period starting from the reactivation time; or you can set a more personalized and dynamic reactivation validity period based on user needs; and so on.
[0036] The latter approach better adapts to the different paces of users, increasing the probability of reactivated coupons being used. Specifically, for example, user activity levels can be determined; based on activity levels, within an adjustable validity period range, a reactivation validity period negatively correlated with activity can be established; and the validity period of expired coupons can be reset to a reactivation validity period. Thus, for more active users, who already use the platform more frequently and are more likely to notice coupon changes, a shorter reactivation validity period can be given, encouraging them to use reactivated coupons more actively and promptly. Conversely, for less active users, whose shopping enthusiasm may be lower and whose consideration and decision-making may take longer, a longer reactivation validity period can be given, effectively offsetting the negativity of inactive users and giving them more opportunities to use reactivated coupons.
[0037] pass Figure 1This method allows users to reactivate coupons after they expire by executing a corresponding reactivation task, thus enabling them to reuse the coupons. This helps improve the utilization rate of coupons and avoids wasting online processing resources related to coupons. From a time perspective, users also have more opportunities to use coupons, and the actual usability period of the coupons is more likely to match the time when users want to shop, bringing benefits to users. Therefore, it helps to improve the user experience.
[0038] based on Figure 1 In addition to the method described herein, this specification also provides some specific implementation schemes and extension schemes of this method, which will be further explained below.
[0039] Intuitively, combined Figures 2-7 The embodiments provided in this specification provide Figure 1 This paper describes a specific implementation plan of the method.
[0040] Figure 2 This is a schematic diagram of the main process of this specific implementation plan.
[0041] The core elements involved in this main process can be summarized in the following three aspects: Firstly, after a coupon expires, users can reactivate it by completing specific reactivation tasks (such as browsing products, participating in activities, inviting friends, redeeming points, etc.).
[0042] Secondly, the platform system recommends suitable reactivation tasks to users based on their historical behavior and profile data, increasing the likelihood of task completion and thus ensuring user experience.
[0043] Thirdly, reactivated coupons have a new validity period and can be dynamically adjusted based on users' real-time behavior.
[0044] The system used to implement this specific implementation plan mainly includes: a configuration management module, a task recommendation module, and a coupon activation module. The configuration management module is responsible for coupon configuration, coupon reactivation task configuration, coupon issuance, and expiration. The task recommendation module recommends suitable reactivation tasks to users based on user historical behavior data, user profile data, and task data. The coupon activation module activates the corresponding expired coupons after the user completes the specified reactivation task.
[0045] Figure 3 This is a schematic diagram of the configuration management module of the system used in this specific implementation plan.
[0046] The configuration management module can be further subdivided into two sub-modules: the coupon configuration management module and the coupon reactivation task configuration management module. Figure 3The document shows the required capabilities for these two modules.
[0047] Coupon configuration management module. In real-world applications, there are many types of coupons, such as discount coupons and coupons with minimum spending requirements. The coupon configuration management module needs to support common capabilities such as coupon creation, editing, approval, publication, removal, and cancellation. In addition, it also needs to support coupon issuance and expiration capabilities.
[0048] The coupon reactivation task configuration management module allows users to reactivate expired coupons by completing specific reactivation tasks. This necessitates a task configuration management module. The tasks are specifically designed to reactivate expired coupons. Therefore, during task configuration, coupon IDs can be associated with them (establishing a correspondence). When a user successfully completes the task, the coupon activation module can find the corresponding coupon ID based on the task configuration and activate the associated coupon.
[0049] Figure 4 This is a schematic diagram illustrating the coupon display format used in this specific implementation plan.
[0050] exist Figure 4 The app uses a list format to display coupons. After obtaining a coupon, users can view it in the coupon list, which displays information such as the coupon name, status (e.g., pending redemption, valid, expired), and usage rules.
[0051] When a coupon expires, users can reactivate it by successfully completing a specific reactivation task. This task can be one or more. See below for an intuitive explanation. Figure 5 .
[0052] Figure 5 The diagram illustrates two reactivation task execution modes provided for this specific implementation plan.
[0053] For any expired coupon, if the number of tasks that can reactivate it exceeds the necessary number (e.g., completing any 1 out of 100 tasks; or completing any 3 out of 100 tasks), then more suitable tasks can be recommended to the user. This task recommendation module will handle this task.
[0054] Figure 6 This is a schematic diagram illustrating the working principle of the task recommendation module used in this specific implementation plan.
[0055] When a user has expired coupons that can be reactivated, the task recommendation system will recommend a set of tasks to the user. As long as the user completes one or more of these tasks, the corresponding expired coupons can be reactivated.
[0056] Specifically, a reactivation task pool is prepared in advance as the set of optional tasks mentioned above. The task recommendation system, based on the current business scenario, employs one or more recall strategies to filter through the task pool. By filtering and recalling one or more task sets that meet the criteria, a preliminary result is obtained. Then, based on user behavior data such as browsing and clicking, and user profile data such as gender and age, the preliminary result is further sorted to measure the matching degree between different tasks and the current user, resulting in an ordered task list. This allows for priority recommendation of tasks ranked higher in the task list to the user; such tasks are relatively more suitable for the current user and contribute to a better user experience.
[0057] Figure 7 This is a schematic diagram illustrating the working principle of the coupon activation module used in this specific implementation plan.
[0058] The coupon activation module uses a scheduled task to periodically scan the list of expired coupon reactivation tasks that users have completed but have not yet been scheduled for processing. It extracts and records the association between completed tasks and expired coupons, and then processes them one by one. It queries the coupon configuration based on the coupon ID to determine whether the coupon meets the activation conditions. If the conditions are met, the corresponding coupon is reactivated (specifically, by modifying fields such as status and validity period).
[0059] Figure 7 The example also provides a reactivation judgment and processing logic. Specifically, it determines the reactivation task that the user has successfully executed, and based on the association, determines the coupon corresponding to the reactivation task; it queries the corresponding coupon configuration information according to the coupon ID to determine whether the coupon is in single-task activation mode; if it is in single-task activation mode, it determines to reactivate the coupon; if it is not in single-task activation mode, it determines whether the coupon has successfully executed a sufficient number of reactivation tasks (i.e., whether the number meets the standard); if so, it determines to reactivate the coupon; otherwise, the process ends, and it can wait for the user to continue to execute more reactivation tasks.
[0060] When reactivating coupons, the validity period can be flexibly set as needed. Specifically, a more personalized validity period can be set for users based on their historical behavior data. As mentioned earlier, the validity period can be set based on user activity. In addition, there are many other options, such as using a basic validity period plus a random validity period, or setting the validity period based on the user's lifecycle, and so on.
[0061] For example, in a scheme that combines a base validity period with a random validity period. For instance, the base validity period is N hours, and the random validity period is randomly selected from 0 to 100 hours. The sum of the two is the reactivation validity period.
[0062] Under a scheme that sets the validity period based on user activity, for example, the reactivation validity period is set to 24 hours for highly active users, 36 hours for moderately active users, 48 hours for inactive users, and 72 hours for dormant users.
[0063] Under a scheme that sets validity periods based on the user lifecycle, for example, the reactivation validity period is set to 72 hours for new users, 24 hours for existing users, and 96 hours for churned users who wish to be reactivated.
[0064] In practice, coupons may expire because users don't notice or miss the opportunity due to carelessness. However, there are also many times when users lack the need to use the coupon. The coupon offers a discount, but the user doesn't currently require it. That said, the user may still have other needs, such as discounts, but lacks the corresponding coupons. In the latter case, even if the coupon is reactivated and its original discount is retained, there's a high probability the user still won't use it, potentially leading to a waste of processing resources.
[0065] To address this issue, this application also provides a solution that, along with reactivation, optionally converts the original discount capabilities of the coupon, thereby increasing the likelihood of users using the reactivated coupon.
[0066] Based on this idea, specifically, there are one or more reactivation tasks. After determining whether the user has successfully executed the reactivation task, if so, the capability conversion indication data corresponding to the reactivation task successfully executed by the user can be determined; the first discount capability originally possessed by the coupon is converted into the second discount capability indicated by the capability conversion indication data.
[0067] The correspondence between reactivation tasks and capability conversion indication data, as well as the second preferential capability indicated by the capability conversion indication data, can be pre-configured by the platform or adaptively configured in real time. Of course, such configuration is not arbitrary and needs to consider whether the platform or the merchant is indeed able or suitable to provide the converted second preferential capability.
[0068] The first and second discount capabilities differ; for example, they may apply to different products, or their discount formats may differ. The second discount capabilities indicated by the corresponding capability conversion indicator data can also vary. This allows users to selectively choose and execute the appropriate reactivation task based on their desired second discount capability. Of course, the second discount capability provided by the reactivation task may not be what some users need. In such cases, these users may choose not to select or execute the reactivation task. However, overall, this discount capability conversion scheme brings convenience to many users, allowing them to more flexibly and independently obtain the discount capabilities they currently need, thus increasing the likelihood that reactivated coupons will be used by users.
[0069] Furthermore, one or more embodiments of this specification also provide a scheme for converting discount capabilities when reactivating coupons, which helps to quickly converge discount capabilities and reduce the processing resources that may be consumed by a large number of coupons. See [link to relevant documentation]. Figure 8 . Figure 8 This is a flowchart illustrating the scheme.
[0070] Figure 8 The process includes the following steps: S802: Determine all other preferential capabilities that have a specified relationship with the first preferential capability, wherein the specified relationship includes: the corresponding preferential capability can be used by the user.
[0071] In practice, users may have multiple coupons available. Some of these coupons may be available for redemption even if the user hasn't claimed them yet, while others may have been automatically issued but can only be seen on the corresponding order or product page. Choosing which coupon to use, or combining different coupons, requires users to spend time and effort researching and making decisions. Furthermore, the final decision may not be the best one, and some users may abandon using coupons for this reason, causing some coupons to expire.
[0072] Based on this, this application takes advantage of the opportunity to reactivate expired coupons to improve the user experience through discount capability conversion operations. The idea is to consolidate the discount capabilities that users can use as much as possible and then concentrate them on a single reactivated coupon for users to use. This helps to simplify user operations, increase user willingness to use, and also helps to reduce the resources consumed by multiple consolidated coupons.
[0073] The first discount capability refers to the discount capability that a currently expired coupon would have provided. The other discount capabilities mentioned in step S802, which are specifically related to the first discount capability, are provided by other coupons held by the user on the platform. These include at least coupons the user has already obtained that have not yet expired, and more comprehensively, can also be set to include coupons the user has not yet obtained but can claim. This step determines these other discount capabilities by specifically identifying these other coupons.
[0074] S804: If the other preferential capabilities can be used simultaneously with the first preferential capability, then the first preferential capability and the other preferential capabilities will be seamlessly integrated.
[0075] Of all the other preferential capabilities identified in the previous step, some may meet the criteria of step S804, while others may meet the criteria of step S806. The corresponding steps should be executed accordingly. Alternatively, only one of these two steps may be selected for execution; in particular, executing step S804 is recommended.
[0076] By achieving lossless fusion, the second discount capability obtained after conversion is equal to the sum of the first discount capability and other discount capabilities participating in the lossless fusion, and may even be greater than the sum to a certain extent. In this way, no manual operation is required from the user, and it may even be possible to directly utilize coupons that have not yet been claimed, effectively improving the convenience for users.
[0077] S806: If the other preferential capabilities cannot be used simultaneously with the first preferential capability, then the first preferential capability and the other preferential capabilities will be lossily merged.
[0078] In cases where simultaneous use is not possible, to avoid wasting resources on coupons corresponding to other preferential capabilities, a second preferential capability (lower than the sum of the other two) can be obtained by lossy fusion of other preferential capabilities, which can provide an appropriate boost to the first preferential capability.
[0079] After merging, other coupons offering additional benefits can be destroyed. This allows multiple coupons to be consolidated into a single coupon through reactivation, resulting in a unified discount offer. This approach increases user engagement with the reactivated coupon while preventing the unnecessary and continuous consumption of resources by numerous coupons. This solution effectively balances the needs and preferences of users who are open to exploration with those who are less inclined to participate.
[0080] Figure 8The proposed scheme, for example, involves all other preferential capabilities that have a specified relationship with the first preferential capability. Based on this approach, the convergence strength of preferential capabilities can be controlled more finely and differentiatedly.
[0081] For example, the convergence strength of discount capabilities can be controlled based on user behavior characteristics, such as order frequency, browsing frequency, and product preferences. For users who show interest in a sufficient number of products at the same time, the convergence strength of discount capabilities can be weakened accordingly, reducing the number of other discount capabilities involved in the fusion. For example, for users who particularly prefer a certain category of products, the convergence strength of discount capabilities can be strengthened, and convergence can be performed specifically for that category of products, so that the second discount capability obtained after fusion can be used as much as possible for that category of products.
[0082] More flexibly, users can specify products within a allowed range. When converting discount capabilities, the user-specified product is selected as the target product. The original first discount capability of the coupon is converted into a second discount capability for the target product, as indicated by the capability conversion indicator data. In this way, users have the opportunity to select their preferred product as the target product and receive the corresponding discount.
[0083] The above solution makes the coupon status reversible, allowing for more flexible and dynamic adjustment of the coupon's validity period and discount capabilities. The process is driven by user behavior, enabling the reactivation process to be better tailored to different users. This makes it more likely that the reactivated coupon will provide users with a better experience, thereby helping to avoid wasting related processing resources.
[0084] Based on the same idea, one or more embodiments of this specification also provide apparatus and devices corresponding to the above methods, such as... Figure 9 , Figure 10 As shown. The apparatus and equipment are capable of performing the above methods and related alternatives accordingly.
[0085] Figure 9 This is a schematic diagram of a coupon processing device provided in one or more embodiments of this specification. The device includes: The coupon expiration detection module 902 determines whether a user's coupon has expired. The reactivation task determination module 904 determines the reactivation task corresponding to the coupon if the coupon is in an expired state, so that the user can obtain the reactivation task. The task execution judgment module 906 determines whether the user has successfully executed the reactivation task; If the coupon reactivation module 908 is active, it will reactivate the expired coupon to change its status to a valid and usable state.
[0086] Optionally, the reactivation task determination module 904 obtains user feature data corresponding to the user; Based on the user characteristic data, one or more tasks are matched from the set of optional tasks to serve as the reactivation tasks corresponding to the coupon, so as to notify the user accordingly.
[0087] Optionally, there may be one or more reactivation tasks; The coupon reactivation module 908, after determining whether the user has successfully executed the reactivation task, determines the capability conversion indication data corresponding to the reactivation task successfully executed by the user. The coupon's original first discount capability is converted into a second discount capability indicated by the capability conversion indication data.
[0088] Optionally, the coupon reactivation module 908 determines other discount capabilities that have a specified relationship with the first discount capability originally possessed by the coupon. The second preferential capability is determined by combining the first preferential capability with the other preferential capabilities; Generate capability conversion indication data that indicates the second preferential capability.
[0089] Optionally, in the coupon reactivation module 908, the specified relationship includes: the corresponding discount capability can be used by the user; If the other preferential capabilities can be used simultaneously with the first preferential capability, then the first preferential capability and the other preferential capabilities will be seamlessly integrated. If the other preferential capabilities cannot be used simultaneously with the first preferential capability, then the first preferential capability and the other preferential capabilities will be lossily merged.
[0090] Optionally, the coupon reactivation module will destroy the corresponding other coupons that provide the other discount capabilities.
[0091] Optionally, the coupon reactivation module 908 determines the product specified by the user as the target product; The original first discount capability of the coupon is converted into a second discount capability for the target product as indicated by the capability conversion indication data.
[0092] Optionally, the reactivation task determination module 904 receives a task configuration instruction sent by the administrator before determining the reactivation task corresponding to the coupon if the coupon is in an expired state. In response to the task configuration instruction, a correspondence is established between the coupon and the reactivation task.
[0093] Optionally, the task execution judgment module 906 determines the reactivation task that the user has successfully executed, and determines the coupon corresponding to the reactivation task; Determine whether the coupon is activated in a single-task mode; If it is a single-task activation mode, then the coupon will be reactivated. If it is not a single-task activation mode, then determine whether the coupon has successfully executed a sufficient number of reactivation tasks. If so, then determine to reactivate the coupon; otherwise, wait for the user to continue executing more reactivation tasks.
[0094] Optionally, the coupon reactivation module 908 determines the user's activity level; Based on the activity level, within an adjustable validity period range, a reactivation validity period negatively correlated with the activity level is determined; The expiration date of the expired coupon will be reset to the reactivation expiration date.
[0095] Optionally, the reactivation task is not a recharge task or a purchase task.
[0096] Figure 10 This is a schematic diagram of the structure of a coupon processing device provided in one or more embodiments of this specification. The device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform: Determine if a user's coupon has expired; If the coupon is expired, a reactivation task corresponding to the coupon is determined so that the user can obtain the reactivation task; Determine whether the user has successfully executed the reactivation task; If so, the expired coupon will be reactivated to change its status to valid and available.
[0097] Based on the same idea, one or more embodiments of this specification also provide a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as follows: Determine if a user's coupon has expired; If the coupon is expired, a reactivation task corresponding to the coupon is determined so that the user can obtain the reactivation task; Determine whether the user has successfully executed the reactivation task; If so, the expired coupon will be reactivated to change its status to valid and available.
[0098] Following the same line of thought, one or more embodiments of this specification also provide a computer program product comprising at least one computer-readable storage medium having computer-readable program instructions stored therein, the computer-readable program instructions including: Determine if a user's coupon has expired; If the coupon is expired, a reactivation task corresponding to the coupon is determined so that the user can obtain the reactivation task; Determine whether the user has successfully executed the reactivation task; If so, the expired coupon will be reactivated to change its status to valid and available.
[0099] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the customer's programming of the device. Designers can program a digital system themselves to "integrate" it onto a PLD, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must also be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also understand that by simply performing some logic programming on the method flow using one of these hardware description languages and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.
[0100] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0101] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0102] For ease of description, the above devices are described in terms of function, divided into various units. Of course, in implementing this specification, the functions of each unit can be implemented in one or more software and / or hardware.
[0103] Those skilled in the art will understand that the embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the embodiments of this specification can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0104] This specification is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this specification. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, produce a machine for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0105] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0106] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0107] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0108] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0109] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media 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 technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0110] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0111] This specification can be described in the general context of computer-executable instructions that are executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This specification can also be practiced in distributed computing environments, where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0112] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of apparatus, devices, and non-volatile computer storage media are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0113] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0114] The above description is merely one or more embodiments of this specification and is not intended to limit this specification. Various modifications and variations can be made to the one or more embodiments of this specification by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of one or more embodiments of this specification should be included within the scope of the claims of this specification.
Claims
1. A coupon processing method, comprising: Determine if a user's coupon has expired; If the coupon is expired, a reactivation task corresponding to the coupon is determined so that the user can obtain the reactivation task; Determine whether the user has successfully executed the reactivation task; If so, the expired coupon will be reactivated to change its status to valid and available.
2. The method as described in claim 1, wherein determining the reactivation task corresponding to the coupon specifically includes: Obtain the user characteristic data corresponding to the user; Based on the user characteristic data, one or more tasks are matched from the set of optional tasks to serve as the reactivation tasks corresponding to the coupon, so as to notify the user accordingly.
3. The method as described in claim 1, wherein the reactivation task comprises one or more; After determining whether the user has successfully executed the reactivation task, the method further includes: Determine the capability conversion indication data corresponding to the reactivation task successfully executed by the user; The coupon's original first discount capability is converted into a second discount capability indicated by the capability conversion indication data.
4. The method as described in claim 3, wherein determining the capability conversion indication data corresponding to the reactivation task successfully executed by the user specifically includes: Based on the first discount capability originally possessed by the coupon, determine other discount capabilities that have a specified relationship with the first discount capability; The second preferential capability is determined by combining the first preferential capability with the other preferential capabilities; Generate capability conversion indication data that indicates the second preferential capability.
5. The method as described in claim 4, wherein the fusion of the first preferential capability with the other preferential capabilities specifically includes: Identify all other preferential capabilities that have a specified relationship with the first preferential capability, wherein the specified relationship includes: the corresponding preferential capability can be used by the user; If the other preferential capabilities can be used simultaneously with the first preferential capability, then the first preferential capability and the other preferential capabilities will be seamlessly integrated. If the other preferential capabilities cannot be used simultaneously with the first preferential capability, then the first preferential capability and the other preferential capabilities will be lossily merged.
6. The method of claim 4, wherein determining the second preferential capability by fusing the first preferential capability with the other preferential capabilities further includes: The corresponding additional coupons that provide the aforementioned additional benefits will be destroyed.
7. The method as described in claim 3, wherein converting the first discount capability originally possessed by the coupon into the second discount capability indicated by the capability conversion indication data specifically includes: Identify the product specified by the user as the target product; The original first discount capability of the coupon is converted into a second discount capability for the target product as indicated by the capability conversion indication data.
8. The method of claim 1, wherein before determining the reactivation task corresponding to the coupon if the coupon is in an expired state, the method further comprises: Receive task configuration instructions sent by the administrator; In response to the task configuration instruction, a correspondence is established between the coupon and the reactivation task.
9. The method as described in claim 1, wherein determining whether the user has successfully executed the reactivation task specifically includes: Determine the reactivation task that the user has successfully executed, and determine the coupon corresponding to the reactivation task; Determine whether the coupon is activated in a single-task mode; If it is a single-task activation mode, then the coupon will be reactivated. If it is not a single-task activation mode, then determine whether the coupon has successfully executed a sufficient number of reactivation tasks. If so, then determine to reactivate the coupon; otherwise, wait for the user to continue executing more reactivation tasks.
10. The method of claim 1, wherein reactivating the expired coupon specifically includes: Determine the user's activity level; Based on the activity level, within an adjustable validity period range, a reactivation validity period negatively correlated with the activity level is determined; The expiration date of the expired coupon will be reset to the reactivation expiration date.
11. The method as described in any one of claims 1 to 10, wherein the reactivation task is not a recharge task or a purchase task.
12. A coupon processing device, comprising: The coupon expiration detection module determines whether a user's coupon has expired. The reactivation task determination module determines the reactivation task corresponding to the coupon if the coupon is in an expired state, so that the user can obtain the reactivation task. The task execution judgment module determines whether the user has successfully executed the reactivation task; If so, the coupon reactivation module will reactivate the expired coupon to change its status to valid and usable.
13. The apparatus of claim 12, wherein the reactivation task determination module acquires user feature data corresponding to the user; Based on the user characteristic data, one or more tasks are matched from the set of optional tasks to serve as the reactivation tasks corresponding to the coupon, so as to notify the user accordingly.
14. The apparatus of claim 12, wherein the reactivation task has one or more components; The coupon reactivation module determines the capability conversion indication data corresponding to the reactivation task successfully executed by the user after determining whether the user has successfully executed the reactivation task. The coupon's original first discount capability is converted into a second discount capability indicated by the capability conversion indication data.
15. The apparatus of claim 14, wherein the coupon reactivation module determines, based on the first discount capability originally possessed by the coupon, other discount capabilities that have a specified correlation with the first discount capability; The second preferential capability is determined by combining the first preferential capability with the other preferential capabilities; Generate capability conversion indication data that indicates the second preferential capability.
16. The apparatus of claim 15, wherein the coupon reactivation module determines all other discount capabilities that have a specified correlation with the first discount capability, the specified correlation including: The corresponding discounts can be used by the user. If the other preferential capabilities can be used simultaneously with the first preferential capability, then the first preferential capability and the other preferential capabilities will be seamlessly integrated. If the other preferential capabilities cannot be used simultaneously with the first preferential capability, then the first preferential capability and the other preferential capabilities will be lossily merged.
17. The apparatus of claim 15, wherein the coupon reactivation module destroys the corresponding other coupons that provide the other discount capabilities.
18. The apparatus of claim 14, wherein the coupon reactivation module determines the product specified by the user as the target product; The original first discount capability of the coupon is converted into a second discount capability for the target product as indicated by the capability conversion indication data.
19. The apparatus of claim 12, wherein the reactivation task determination module receives a task configuration instruction sent by the administrator before determining the reactivation task corresponding to the coupon if the coupon is in an expired state; In response to the task configuration instruction, a correspondence is established between the coupon and the reactivation task.
20. The apparatus of claim 12, wherein the task execution determination module determines a reactivation task that the user has successfully executed, and determines the coupon corresponding to the reactivation task; Determine whether the coupon is activated in a single-task mode; If it is a single-task activation mode, then the coupon will be reactivated. If it is not a single-task activation mode, then determine whether the coupon has successfully executed a sufficient number of reactivation tasks. If so, then determine to reactivate the coupon; otherwise, wait for the user to continue executing more reactivation tasks.
21. The apparatus of claim 12, wherein the coupon reactivation module determines the user's activity level; Based on the activity level, within an adjustable validity period range, a reactivation validity period negatively correlated with the activity level is determined; The expiration date of the expired coupon will be reset to the reactivation expiration date.
22. The apparatus according to any one of claims 12 to 21, wherein the reactivation task is not a recharge task or a purchase task.
23. A coupon processing device, comprising: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform: Determine if a user's coupon has expired; If the coupon is expired, a reactivation task corresponding to the coupon is determined so that the user can obtain the reactivation task; Determine whether the user has successfully executed the reactivation task; If so, the expired coupon will be reactivated to change its status to valid and available.