Coupon processing method, device, electronic device and storage medium
By synthesizing coupons of different product categories, a coupon usage plan can be generated that can be used for individual orders and combined orders, which solves the problem that existing coupons cannot be used when placing orders for product combinations, and improves the usage rate of coupons and System transaction volume.
Patent Information
- Application Number
- CN202110909093.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-09
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-08-09
AI Technical Summary
Existing coupons cannot be used when placing orders for product combinations, resulting in low usage and affecting the increase in system transaction volume.
By determining the user's order information and coupon collection, coupons of different product categories are obtained, synthesized and processed, and a coupon usage plan that can be used for individual orders and product combination orders is generated and pushed to the user.
It improves the usage rate of coupons, enhances the transaction volume of the system, and realizes the usability of coupons when placing orders in a combination of multiple product categories.
Smart Images

Figure CN113592562B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a coupon processing method, device, electronic device and storage medium. Background Art
[0002] In major Internet system businesses, there are often scenarios where coupons are used. The use of various coupons can greatly increase the system transaction volume. There are many types of coupons at present, but different types of coupons have different usage conditions when used, for example, restrictions on product categories. For example, if a user is going to buy two products, A and B, product A can use coupon A_1 and product B_1, but when placing an order for a combination of products A and B, neither of the above coupons can be used, which reduces the usage rate of coupons and is not conducive to increasing the system transaction volume. Summary of the invention
[0003] The present application aims to solve one of the technical problems in the related art at least to some extent.
[0004] The present application proposes a coupon processing method to enable coupons that can be used when ordering a single item to be used when ordering a combination of multiple categories of items, thereby increasing the usage rate of coupons and facilitating the increase of system transaction volume.
[0005] The first aspect of the present application proposes a coupon processing method, including: determining a user's pending order information and a coupon set; wherein the pending order information includes: product information of at least two product categories; the coupon set includes: coupons corresponding to each of the product categories; obtaining at least two coupons to be synthesized in the coupon set, wherein the at least two coupons correspond to different product categories, and the union of the product categories corresponding to the at least two coupons includes all product categories in the pending order information, and the at least two coupons have common discount information; synthesizing the at least two coupons to obtain a synthesized coupon; generating at least one coupon usage plan corresponding to the pending order information based on the synthesized coupon, and pushing the at least one coupon usage plan to the user.
[0006] The coupon processing method of the embodiment of the present application is through determining the user's pending order information and coupon set; wherein the pending order information includes: product information of at least two product categories; the coupon set includes: coupons corresponding to each product category; obtaining at least two coupons to be synthesized in the coupon set, wherein at least two coupons correspond to different product categories, and the union of the product categories corresponding to at least two coupons includes all product categories in the pending order information, and at least two coupons have common discount information; synthesizing the at least two coupons to obtain a synthesized coupon; generating at least one coupon usage plan corresponding to the pending order information based on the synthesized coupon, and pushing the at least one coupon usage plan to the user, so that the coupon that can be used when ordering a product individually can also be used when ordering a combination of multiple categories of products, thereby improving the usage rate of the coupon and facilitating the increase of system transaction volume.
[0007] Optionally, determining the user's pending order information and coupon set includes: determining the user's pending order information; querying the user's existing coupon set according to the product category of each product information in the pending order information, and obtaining the existing coupons corresponding to each of the product categories; generating the coupon set based on the existing coupons corresponding to each of the product categories.
[0008] Optionally, the synthesizing the at least two coupons to obtain a synthesized coupon includes: performing intersection processing on the discount information of the at least two coupons to obtain the common discount information of the at least two coupons; and generating the synthesized coupon according to the common discount information and the commodity categories corresponding to the at least two coupons.
[0009] Optionally, generating at least one coupon usage plan corresponding to the information to be ordered based on the synthesized coupon includes: obtaining candidate coupons in the coupon set that match the information to be ordered; and determining the at least one coupon usage plan based on the synthesized coupon and the candidate coupons.
[0010] Optionally, the method further comprises: storing an association relationship between the synthesized coupon and the at least two coupons.
[0011] Optionally, the method further includes: receiving an order request from the user for the order information to be placed and performing order processing, wherein the target coupon usage plan in the order request includes the synthesized coupon; determining the at least two coupons associated with the synthesized coupon; and performing cancellation processing on the at least two coupons.
[0012] The second aspect of the present application proposes a coupon processing device, including: a determination module, used to determine the user's pending order information and a coupon set; wherein the pending order information includes: product information of at least two product categories; the coupon set includes: coupons corresponding to each of the product categories; an acquisition module, used to acquire at least two coupons to be synthesized in the coupon set, wherein the at least two coupons correspond to different product categories, and the union of the product categories corresponding to the at least two coupons includes all product categories in the pending order information, and the at least two coupons have common discount information; a synthesis module, used to synthesize the at least two coupons to obtain a synthesized coupon; a processing module, used to generate at least one coupon usage plan corresponding to the pending order information based on the synthesized coupon, and push the at least one coupon usage plan to the user.
[0013] The coupon processing device of the embodiment of the present application determines the user's pending order information and coupon set; wherein the pending order information includes: product information of at least two product categories; the coupon set includes: coupons corresponding to each product category; obtains at least two coupons to be synthesized in the coupon set, wherein at least two coupons correspond to different product categories, and the union of the product categories corresponding to the at least two coupons includes all product categories in the pending order information, and at least two coupons have common discount information; synthesizes the at least two coupons to obtain a synthesized coupon; generates at least one coupon usage plan corresponding to the pending order information based on the synthesized coupon, and pushes the at least one coupon usage plan to the user, so that the coupon that can be used when ordering a product individually can also be used when ordering a combination of multiple categories of products, thereby improving the usage rate of the coupon and facilitating the increase of system transaction volume.
[0014] The third aspect embodiment of the present application proposes an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the coupon processing method proposed in the first aspect embodiment of the present application.
[0015] The fourth aspect embodiment of the present application proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the coupon processing method proposed in the first aspect embodiment of the present application.
[0016] The fifth aspect of the present application provides a computer program product. When the instruction processor in the computer program product is executed, the coupon processing method provided in the first aspect of the present application is executed.
[0017] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0019] Figure 1 A flowchart of the coupon processing method provided in Example 1 of the present application;
[0020] Figure 2 This is a schematic diagram of coupon processing for product A and product B;
[0021] Figure 3 A flowchart of a coupon processing method provided in Example 2 of the present application;
[0022] Figure 4 This is a flowchart of the coupon processing method provided in Example 3 of the present application;
[0023] Figure 5 This is a schematic diagram of coupon redemption after combining product A and product B;
[0024] Figure 6 This is a schematic diagram of the structure of a coupon processing device provided in Embodiment 4 of the present application;
[0025] Figure 7 The invention is a block diagram of an electronic device for a coupon processing method according to an exemplary embodiment. DETAILED DESCRIPTION
[0026] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0027] Nowadays, coupons are often used in major Internet system businesses. The use of various coupons can greatly increase the system transaction volume.
[0028] In the related art, there are many types of coupons, but different types of coupons have different usage conditions when used, for example, limiting the category of goods. For example, if a user is going to buy two goods A and B, the A_1 coupon can be used for the A product and the B_1 coupon can be used for the B product. However, when placing an order for the two goods A and B together, the above two coupons cannot be used, thereby reducing the usage rate of the coupons and is not conducive to the increase of the system transaction volume.
[0029] In response to the above problems, the present application proposes a coupon processing method, device, electronic device and storage medium.
[0030] Figure 1 This is a flow chart of the coupon processing method provided in the first embodiment of the present application. It should be noted that the coupon processing method can be applied to a coupon processing device. The coupon processing device can be, for example, an Internet system, or a hardware device used by an Internet system, or a hardware device that communicates with an Internet system.
[0031] like Figure 1 As shown, the coupon processing method includes the following steps:
[0032] Step 101, determining the user's pending order information and coupon set; wherein the pending order information includes: commodity information of at least two commodity categories; the coupon set includes: coupons corresponding to each commodity category.
[0033] In the embodiment of the present application, the product information in the order information may be the product information of the product added to the shopping cart by the user, or the product information of the product selected by the user when submitting the checkout. The product selected when submitting the checkout may be the product previously added to the shopping cart, or the product when the control with the buy now function is clicked when browsing the products.
[0034] In an embodiment of the present application, when the product information in the information to be ordered is the product information of the product added to the shopping cart by the user, the way in which the coupon processing device determines the information to be ordered may be, for example, to determine the product added to the shopping cart by the user; and to generate the information to be ordered based on the product added to the shopping cart by the user. When the product information in the information to be ordered is the product information of the product selected when submitting the settlement, the way in which the coupon processing device determines the information to be ordered may be, for example, to receive a settlement request submitted by the client used by the user, wherein the settlement request carries the product information of the selected product; and to generate the information to be ordered based on the product information carried in the settlement request.
[0035] In an embodiment of the present application, in one example, the order information to be placed may include product information of a product category. In this example, a coupon corresponding to the product category can be directly obtained, and at least one coupon usage plan can be generated and pushed to the user, without the need for coupon synthesis processing.
[0036] In the embodiment of the present application, the coupon processing device determines the coupon set by, for example, querying the user's existing coupon set according to the commodity category of each commodity information in the to-be-ordered information, obtaining the existing coupons corresponding to each commodity category; and generating a coupon set according to the existing coupons corresponding to each commodity category. The coupon set includes the coupons currently available for each commodity.
[0037] Step 102, obtaining at least two coupons to be synthesized from the coupon set, wherein at least two coupons correspond to different commodity categories, and the union of the commodity categories corresponding to the at least two coupons includes all commodity categories in the to-be-ordered information, and at least two coupons have common discount information.
[0038] In the embodiment of the present application, if two coupons have common preferential information, the prerequisite is that the preferential types of the two coupons need to be the same. Among them, the preferential types of coupons, for example, full reduction types, direct reduction types, installment preferential types, etc. When the preferential type is a full reduction type, the preferential information can be, for example, the total value that needs to be reached, and the value that can be discounted under this total value. When the preferential type is a direct reduction type, the preferential information can be, for example, the value that can be discounted. When the preferential type is an installment preferential type, the preferential information can be, for example, the number of installments, the value of the interest that can be waived during installments, etc.
[0039] Step 103: synthesize at least two coupons to obtain a synthesized coupon.
[0040] In the embodiment of the present application, the synthesis processing of at least two coupons refers to synthesizing the at least two coupons into one coupon.
[0041] For ease of understanding, the process of synthesizing coupons is described by taking the order information including the product information of product A and the product information of product B as an example. Figure 2 The following is a schematic diagram of coupon processing for product A and product B. Figure 2In the example, the user needs to place an order for two commodities, namely commodity A and commodity B. The coupon processing device searches for coupons according to the commodity categories of the two commodities, and obtains coupon A_1 that can be used for commodity A and coupon B_1 that can be used for commodity B, wherein coupon A_1 can only be used for commodity A, and coupon B_1 can only be used for commodity B. The coupon processing device can integrate coupon A_1 and coupon B_1 to obtain coupon AB_1, so that coupon AB_1 can be used when placing an order based on the above order information.
[0042] Step 104: Generate at least one coupon usage plan corresponding to the order information to be placed based on the synthesized coupon, and push the at least one coupon usage plan to the user.
[0043] In the embodiment of the present application, the process of the coupon processing device generating at least one coupon usage scheme corresponding to the information to be ordered may be, for example, obtaining candidate coupons matching the information to be ordered from the coupon set; and determining at least one coupon usage scheme based on the synthesized coupons and the candidate coupons. The candidate coupons are coupons that can be used for the products corresponding to the various product information in the information to be ordered.
[0044] In an embodiment of the present application, when the product information in the order information is the product information of the product selected when submitting the settlement, the user can select the target coupon usage plan from at least one pushed coupon usage plan, and click on the control with the order submission function to realize the order function.
[0045] In summary, by determining the user's pending order information and coupon set; wherein the pending order information includes: product information of at least two product categories; the coupon set includes: coupons corresponding to each product category; obtaining at least two coupons to be synthesized in the coupon set, wherein at least two coupons correspond to different product categories, and the union of the product categories corresponding to at least two coupons includes all product categories in the pending order information, and at least two coupons have common discount information; synthesizing the at least two coupons to obtain a synthesized coupon; based on the synthesized coupon, generating at least one coupon usage plan corresponding to the pending order information, and pushing the at least one coupon usage plan to the user, so that the coupon that can be used when ordering a single product can also be used when ordering a combination of products of multiple categories, thereby improving the utilization rate of the coupons and facilitating the increase of system transaction volume.
[0046] Figure 3 This is a flow chart of the coupon processing method provided in Example 2 of this application. Figure 3 As shown, the coupon processing method includes the following steps:
[0047] Step 301, determining the user's pending order information and coupon set; wherein the pending order information includes: commodity information of at least two commodity categories; the coupon set includes: coupons corresponding to each commodity category.
[0048] Step 302, obtaining at least two coupons to be synthesized from the coupon set, wherein at least two coupons correspond to different commodity categories, and the union of the commodity categories corresponding to the at least two coupons includes all commodity categories in the to-be-ordered information, and at least two coupons have common discount information.
[0049] Step 303: perform intersection processing on the preferential information of at least two coupons to obtain the common preferential information of at least two coupons.
[0050] In the embodiment of the present application, the discount types of coupons include, for example, full discount types, direct discount types, installment discount types, etc. When the discount type is a full discount type, the discount information may be, for example, the total value that needs to be reached, and the value that can be discounted under the total value. When the discount type is a direct discount type, the discount information may be, for example, the value that can be discounted. When the discount type is an installment discount type, the discount information may be, for example, the number of installments, the value of the interest that can be waived during the installment, etc.
[0051] In the embodiment of the present application, when the discount type is a full discount type, the common discount information of at least two coupons can be the maximum value of the total value that the at least two coupons need to reach, and the minimum value of the value that can be discounted when the total value is reached. When the discount type is a direct discount type, the common discount information of at least two coupons can be the minimum value of the discount value. When the discount type is an installment discount type, the common discount information of at least two coupons can be the same installment number in at least two coupons, and the minimum value of the interest that can be discounted in seconds under the same installment number.
[0052] Step 304: Generate a combined coupon based on the shared discount information and the commodity categories corresponding to at least two coupons.
[0053] In the embodiment of the present application, the combined coupon may include the common discount information and the commodity categories corresponding to at least two coupons. In addition, the combined coupon may also include the common validity period of at least two coupons, etc., which can be set according to actual conditions.
[0054] In an embodiment of the present application, the coupon processing device generates a synthesized coupon based on the common discount information and the commodity categories corresponding to at least two coupons, so that the discount information of the synthesized coupon is consistent with the discount information of at least two coupons before synthesis, and the synthesized coupon can be used for a combination order including commodities of at least two commodity categories, thereby improving the utilization rate of the coupon and facilitating the increase of system transaction volume.
[0055] Step 305: Generate at least one coupon usage plan corresponding to the order information to be placed based on the synthesized coupon, and push the at least one coupon usage plan to the user.
[0056] In the embodiment of the present application, steps 301-302 and 305 can be implemented in any way in the embodiments of the present application respectively, and the embodiment of the present application does not limit this and will not be repeated.
[0057] In summary, by determining the user's pending order information and coupon set; wherein the pending order information includes: product information of at least two product categories; the coupon set includes: coupons corresponding to each product category; obtaining at least two coupons to be synthesized in the coupon set, wherein at least two coupons correspond to different product categories, and the union of the product categories corresponding to at least two coupons includes all product categories in the pending order information, and at least two coupons have common discount information; performing intersection processing on the discount information of at least two coupons to obtain the common discount information of at least two coupons; generating a synthesized coupon based on the common discount information and the product categories corresponding to at least two coupons; generating at least one coupon usage plan corresponding to the pending order information based on the synthesized coupon, and pushing at least one coupon usage plan to the user, so that the coupon that can be used when ordering a product individually can also be used when ordering a combination of multiple categories of products, thereby improving the usage rate of the coupon and facilitating the increase in system transaction volume.
[0058] Figure 4 This is a flow chart of the coupon processing method provided in Example 3 of this application. Figure 4 As shown, the coupon processing method includes the following steps:
[0059] Step 401, determining the user's pending order information and coupon set; wherein the pending order information includes: commodity information of at least two commodity categories; the coupon set includes: coupons corresponding to each commodity category.
[0060] Step 402, obtaining at least two coupons to be synthesized from the coupon set, wherein at least two coupons correspond to different commodity categories, and the union of the commodity categories corresponding to the at least two coupons includes all commodity categories in the to-be-ordered information, and at least two coupons have common discount information.
[0061] Step 403: synthesize the at least two coupons to obtain a synthesized coupon, and store the association between the synthesized coupon and the at least two coupons.
[0062] In the embodiment of the present application, the association relationship between the synthesized coupon and at least two coupons can be stored in the memory or cache for easy query and deletion.
[0063] In the embodiment of the present application, the association relationship between the synthesized coupon AB_1 and coupons A_1 and B_1 can be expressed as AB_1: {"A":"A_1","B":"B_1"}, thereby recording that the synthesized coupon AB_1 is synthesized from coupons A_1 and B_1, and that coupon A_1 can be used for product A, and coupon B_1 can be used for product B.
[0064] Step 404: Generate at least one coupon usage plan corresponding to the order information to be placed based on the synthesized coupon, and push the at least one coupon usage plan to the user.
[0065] Step 405: receiving an order request from a user for the order information to be placed and performing order processing, wherein the target coupon usage plan in the order request includes the synthesized coupon.
[0066] In the embodiment of the present application, if the target coupon usage scheme in the order request does not include the synthesized coupon, the cancellation process of the coupon associated with the synthesized coupon is not involved. In this case, the coupon involved in the target coupon usage scheme can be directly cancelled.
[0067] Step 406, determining at least two coupons associated with the synthesized coupon.
[0068] Step 407: Verify and redeem at least two coupons.
[0069] In the embodiment of the present application, in order to reduce the occupation of storage resources and improve the utilization of storage resources, after the at least two coupons associated with the synthesized coupon are cancelled, the previously stored association relationship between the synthesized coupon and the at least two coupons may be deleted.
[0070] In the embodiment of the present application, steps 401-404 can be implemented in any of the embodiments of the present application respectively, and the embodiment of the present application does not limit this and will not be repeated.
[0071] For ease of understanding, the verification process of the combined coupon is explained by taking the case where the order information includes the product information of product A and the product information of product B as an example. Figure 5 The figure shows the schematic diagram of coupon redemption after the combination of product A and product B. Figure 5 In the example, the coupon that can be used for product A is coupon A_1; the coupon that can be used for product B is coupon B_1, where coupon A_1 can only be used for product A, and coupon B_1 can only be used for product B. The synthesized coupon is coupon AB_1 obtained by integrating coupon A_1 and coupon B_1. After the coupon processing device receives the user's order request and processes the order, coupon AB_1 has been used, and the coupon processing device needs to cancel coupon AB_1. Since coupon AB_1 is a synthesized coupon, it is actually necessary to cancel coupon A_1 and coupon B_1 used when synthesizing coupon AB_1.
[0072] In summary, by determining the user's pending order information and coupon set; wherein the pending order information includes: product information of at least two product categories; the coupon set includes: coupons corresponding to each product category; obtaining at least two coupons to be synthesized in the coupon set, wherein at least two coupons correspond to different product categories, and the union of the product categories corresponding to at least two coupons includes all product categories in the pending order information, and at least two coupons have common discount information; synthesizing the at least two coupons to obtain a synthesized coupon, and storing the association between the synthesized coupon and the at least two coupons; according to the synthesized discount information The method comprises the steps of: generating a coupon, generating at least one coupon usage plan corresponding to the order information to be placed, and pushing the at least one coupon usage plan to the user; receiving an order request from the user for the order information to be placed and performing order processing, wherein the target coupon usage plan in the order request includes the synthesized coupon; determining at least two coupons associated with the synthesized coupon, and performing redemption processing on the at least two coupons, so that a coupon that can be used when ordering a single product can also be used when ordering a combination of products of multiple categories, and is redeemed after use, thereby improving the utilization rate of the coupon, and being able to accurately and timely redeem the coupon, which is conducive to the increase of system transaction volume.
[0073] Figure 6 This is a schematic diagram of the structure of the coupon processing device provided in Example 4 of the present application.
[0074] like Figure 6As shown, the coupon processing device 1000 includes: a determination module 1010 , an acquisition module 1020 , a synthesis module 1030 , and a processing module 1040 .
[0075] The determination module 1010 is used to determine the user's pending order information and coupon set; wherein the pending order information includes: commodity information of at least two commodity categories; the coupon set includes: coupons corresponding to each of the commodity categories;
[0076] The acquisition module 1020 is used to acquire at least two coupons to be combined from the coupon set, wherein the at least two coupons correspond to different commodity categories, and the union of the commodity categories corresponding to the at least two coupons includes all commodity categories in the information to be ordered, and the at least two coupons have common discount information;
[0077] A synthesis module 1030, configured to synthesize the at least two coupons to obtain a synthesized coupon;
[0078] The processing module 1040 is used to generate at least one coupon usage plan corresponding to the to-be-ordered information according to the synthesized coupon, and push the at least one coupon usage plan to the user.
[0079] As a possible implementation method of an embodiment of the present application, the determination module 1010 is specifically used to: determine the user's pending order information; query the user's existing coupon set according to the product category of each product information in the pending order information, and obtain the existing coupons corresponding to each of the product categories; generate the coupon set based on the existing coupons corresponding to each of the product categories.
[0080] As a possible implementation method of the embodiment of the present application, the synthesis module 1030 is specifically used to: perform intersection processing on the discount information of the at least two coupons to obtain the common discount information of the at least two coupons; and generate the synthesized coupon according to the common discount information and the commodity categories corresponding to the at least two coupons.
[0081] As a possible implementation method of an embodiment of the present application, the processing module 1040 is specifically used to: obtain candidate coupons in the coupon set that match the order information to be placed; and determine at least one coupon usage plan based on the synthesized coupon and the candidate coupons.
[0082] As a possible implementation manner of the embodiment of the present application, the device further includes: a storage module, configured to store an association relationship between the synthesized coupon and the at least two coupons.
[0083] As a possible implementation method of an embodiment of the present application, the device also includes: a receiving module; the receiving module is used to receive the user's order request for the information to be ordered and perform order processing, wherein the target coupon usage plan in the order request includes the synthesized coupon; the determination module 1010 is also used to determine the at least two coupons associated with the synthesized coupon; the processing module 1040 is also used to perform cancellation processing on the at least two coupons.
[0084] The coupon processing device of the embodiment of the present application determines the user's pending order information and coupon set; wherein the pending order information includes: product information of at least two product categories; the coupon set includes: coupons corresponding to each product category; obtains at least two coupons to be synthesized in the coupon set, wherein at least two coupons correspond to different product categories, and the union of the product categories corresponding to the at least two coupons includes all product categories in the pending order information, and at least two coupons have common discount information; synthesizes the at least two coupons to obtain a synthesized coupon; generates at least one coupon usage plan corresponding to the pending order information based on the synthesized coupon, and pushes the at least one coupon usage plan to the user, so that the coupon that can be used when ordering a product individually can also be used when ordering a combination of multiple categories of products, thereby improving the usage rate of the coupon and facilitating the increase of system transaction volume.
[0085] In order to implement the above embodiments, the present application also proposes an electronic device, such as Figure 7 As shown, Figure 7 The invention is a block diagram of an electronic device for a coupon processing method according to an exemplary embodiment.
[0086] like Figure 7 As shown, the electronic device 1100 includes:
[0087] The memory 1110 and the processor 1120, the bus 1130 connecting different components (including the memory 1110 and the processor 1120), the memory 1110 stores a computer program, and when the processor 1120 executes the program, the coupon processing method described in the embodiment of the present disclosure is implemented.
[0088] Bus 1130 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.
[0089] The electronic device 1100 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by the electronic device 1100, including volatile and non-volatile media, removable and non-removable media.
[0090] The memory 1110 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 1140 and / or cache memory 1150. The electronic device 1100 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 1160 may be used to read and write non-removable, non-volatile magnetic media ( Figure 7 not shown, usually called a "hard drive"). Although Figure 7 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 1130 via one or more data medium interfaces. The memory 1110 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.
[0091] A program / utility 1180 having a set (at least one) of program modules 1170 may be stored, for example, in the memory 1110, such program modules 1170 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 1170 generally perform the functions and / or methods of the embodiments described in the present disclosure.
[0092] The electronic device 1100 may also communicate with one or more external devices 1190 (e.g., keyboard, pointing device, display 1091, etc.), one or more devices that enable a user to interact with the electronic device 1100, and / or any device that enables the electronic device 1100 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 1192. Furthermore, the electronic device 1100 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 1193. Figure 7 As shown, the network adapter 1193 communicates with other modules of the electronic device 1100 via the bus 1130. It should be understood that although Figure 7 Not shown, other hardware and / or software modules may be used in conjunction with electronic device 1100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0093] The processor 1120 executes various functional applications and data processing by running the programs stored in the memory 1110 .
[0094] It should be noted that the implementation process and technical principles of the electronic device of this embodiment refer to the aforementioned explanation of the monitoring processing method of the embodiment of the present disclosure, and will not be repeated here.
[0095] In order to implement the above embodiment, the present application also proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute Figures 1 to 5 The coupon processing method described in the embodiment.
[0096] In order to implement the above embodiment, the present disclosure also provides a computer program product. When the instruction processor in the computer program product executes, Figures 1 to 5 The coupon processing method described in the embodiment.
[0097] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0098] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0099] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0100] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0101] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0102] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0103] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0104] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A coupon processing method, characterized in that: include: Determine the user's pending order information and coupon set; wherein the pending order information includes: commodity information of at least two commodity categories; the coupon set includes: coupons corresponding to each of the commodity categories; Obtain at least two coupons to be combined from the coupon set, wherein the at least two coupons correspond to different commodity categories, and the union of the commodity categories corresponding to the at least two coupons includes all commodity categories in the information to be ordered, and the at least two coupons have common discount information; Performing intersection processing on the preferential information of the at least two coupons to obtain the common preferential information of the at least two coupons; generating a combined coupon according to the shared discount information and the commodity categories corresponding to the at least two coupons; At least one coupon usage plan corresponding to the to-be-ordered information is generated based on the synthesized coupon, and the at least one coupon usage plan is pushed to the user.
2. The method according to claim 1, characterized in that The step of determining the user's pending order information and coupon set includes: Determine the user's pending order information; Query the user's existing coupon set according to the product category of each product information in the to-be-ordered information, and obtain the existing coupons corresponding to each product category; The coupon set is generated according to the existing coupons corresponding to each of the commodity categories.
3. The method according to claim 1, characterized in that The step of generating at least one coupon usage scheme corresponding to the to-be-ordered information according to the synthesized coupon includes: Obtaining candidate coupons from the coupon set that match the order information to be placed; The at least one coupon usage scheme is determined according to the synthesized coupon and the candidate coupon.
4. The method according to any one of claims 1 to 3, characterized in that: Also includes: The association relationship between the combined coupon and the at least two coupons is stored.
5. The method according to claim 4, characterized in that Also includes: receiving an order request from the user for the order information to be placed and performing order processing, wherein the target coupon usage plan in the order request includes the synthesized coupon; determining the at least two coupons associated with the combined coupon; The at least two coupons are processed for cancellation.
6. A coupon processing device, characterized in that: include: A determination module, used to determine the user's pending order information and coupon set; wherein the pending order information includes: commodity information of at least two commodity categories; the coupon set includes: coupons corresponding to each of the commodity categories; an acquisition module, configured to acquire at least two coupons to be synthesized from the coupon set, wherein the at least two coupons correspond to different commodity categories, and the union of the commodity categories corresponding to the at least two coupons includes all commodity categories in the information to be ordered, and the at least two coupons have common discount information; A synthesis module, configured to perform intersection processing on the preferential information of the at least two coupons to obtain the common preferential information of the at least two coupons; and generate a synthesized coupon according to the common preferential information and the commodity categories corresponding to the at least two coupons; A processing module is used to generate at least one coupon usage plan corresponding to the to-be-ordered information according to the synthesized coupon, and push the at least one coupon usage plan to the user.
7. The device according to claim 6, characterized in that The determination module is specifically used for: Determine the user's pending order information; Query the user's existing coupon set according to the product category of each product information in the to-be-ordered information, and obtain the existing coupons corresponding to each product category; The coupon set is generated according to the existing coupons corresponding to each of the commodity categories.
8. The device according to claim 6, characterized in that The processing module is specifically used for: Obtaining candidate coupons from the coupon set that match the order information to be placed; The at least one coupon usage scheme is determined according to the synthesized coupon and the candidate coupon.
9. The device according to any one of claims 6 to 8, characterized in that Also includes: The storage module is used to store the association relationship between the combined coupon and the at least two coupons.
10. The device according to claim 9, characterized in that Also includes: Receiver module; The receiving module is used to receive an order request from the user for the order information to be placed and perform order processing, wherein the target coupon usage plan in the order request includes the synthesized coupon; The determination module is further configured to determine the at least two coupons associated with the synthesized coupon; The processing module is further used to perform a cancellation process on the at least two coupons.
11. An electronic device, characterized in that: include: 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 the method according to any one of claims 1 to 5.
12. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 5.
