Coupon issuing method and device, equipment, storage medium and program product
By matching the user's target portrait with the user characteristics associated with the coupons and using the responsibility chain mechanism to verify business rules, the problem of inaccurate coupon distribution in the existing technology is solved, and higher issuance accuracy and Marketing effect.
Patent Information
- Application Number
- CN202411539789.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-14
AI Technical Summary
In the prior art, coupons are recommended or issued to users based on user portraits, resulting in inaccurate coupon distribution.
By obtaining the user's target portrait and the user characteristics associated with the coupon, a candidate coupon is obtained, and a responsibility chain mechanism is used to verify the business rules of the candidate coupons to ensure that the issued coupons match the user higher.
It improves the accuracy of coupons, makes the coupons issued to users more in line with users' needs and business, and improves marketing effectiveness and business reach rate.
Smart Images

Figure CN119444314A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of precision marketing technology, and in particular to a coupon distribution method, device, equipment, storage medium and program product. Background Art
[0002] As users' personalized needs increase, marketing methods based on user portraits have emerged. In the field of precision marketing, user portraits can accurately identify users' personalized needs, thereby recommending personalized services to users and improving marketing effectiveness and business reach. At present, the push of discount information is also achieved through user portraits. However, the precision marketing method based on user portraits focuses on exploring user needs, and the discount information recommended to users may not be consistent with the actual business, resulting in inaccurate coupon issuance. Summary of the invention
[0003] The present application provides a coupon distribution method, device, equipment, storage medium and program product to solve the defect in the prior art that coupons are recommended or distributed to users based on user portraits, resulting in inaccurate coupon distribution.
[0004] This application provides a coupon distribution method, including:
[0005] According to the user's preferential query request on the channel touchpoint side, the target profile of the user is obtained;
[0006] Matching the target profile with user features associated with each coupon to obtain candidate coupons;
[0007] Through the responsibility chain of each candidate coupon, the candidate coupon is verified according to the business rules, and the target coupon that passes the verification is issued to the user; the responsibility chain is generated according to the business rules configured for the candidate coupon.
[0008] In one embodiment, the business rule verification of the candidate coupons through the responsibility chain of each candidate coupon includes:
[0009] Packing each of the candidate coupons into a task and placing it into a preset task pool;
[0010] Based on a preset maximum number of tasks to be executed in parallel, dynamically scheduling the tasks from the task pool in the order in which the tasks are stored;
[0011] The scheduled task is verified by business rules through the responsibility chain of each candidate coupon.
[0012] In one embodiment, the responsibility chain includes a plurality of logic operation nodes, and the plurality of logic operation nodes include at least a non-operation node, a first AND operation node, a second AND operation node, an OR operation node, and a third AND operation node; performing business rule verification on the scheduled task through the responsibility chain of each candidate coupon includes:
[0013] Through the non-operation nodes in the responsibility chain of the candidate coupon, the scheduled task is checked for marking rules to determine whether the user is a marked user;
[0014] If the user is a non-marked user, the scheduled task is checked for a completed business rule through the first AND operation node in the responsibility chain, and a first coupon matching the completed business of the user with the opened business list of the candidate coupon is obtained;
[0015] By using the second AND operation node in the responsibility chain, the task corresponding to the first coupon is checked for inventory rules to obtain a second coupon whose inventory quantity is greater than the required usage quantity of the user;
[0016] Through the OR operation node in the responsibility chain, the consumption rule verification is performed on the task corresponding to the second coupon to obtain a third coupon that passes the consumption rule verification;
[0017] The task corresponding to the third coupon is verified for eligibility through the third AND operation node in the responsibility chain.
[0018] In one embodiment, before verifying the business rules of the candidate coupons through the responsibility chain of each candidate coupon, the method further includes:
[0019] Obtaining configuration information of each of the coupons; the configuration information includes a coupon name, an expiration date, and a plurality of business rules;
[0020] Determine the operation type and operation duration of each logical operation node corresponding to the coupon in the responsibility chain according to the configuration information;
[0021] The logical order of the logic operation nodes is determined according to the operation type and the operation duration, and the business rules are arranged into the logic operation nodes according to the logical order to generate the responsibility chain of the coupon.
[0022] In one embodiment, before obtaining the target profile of the user according to the preferential query request of the user on the channel contact point side, the method further includes:
[0023] Acquire multidimensional data of each user; the multidimensional data includes basic information, behavior data, consumption data and communication group relationship data of each user;
[0024] Based on a preset clustering algorithm, clustering the multidimensional data, and dividing each of the users into multiple user groups;
[0025] Iteratively optimize the user group according to the clustering effect to obtain the optimal number of groups of the user group;
[0026] Based on the optimal number of groups, user portraits of different dimensions are generated for each of the users.
[0027] In one embodiment, after issuing the verified target coupon to the user, the method further includes:
[0028] receiving a business processing request from the user, and pre-occupying the target coupon according to the business processing request; the business processing request is initiated based on the user's use operation of the target coupon at the channel contact point;
[0029] Receiving a deduction instruction sent by the channel contact side;
[0030] Deducting the target coupon inventory according to the deduction instruction and generating a result of issuing the target coupon;
[0031] The distribution result is sent to the channel contact side.
[0032] The present application also provides a coupon issuing device, comprising the following modules:
[0033] An acquisition module, used to acquire a target profile of the user according to a preferential inquiry request of the user on the channel contact point side;
[0034] A matching module, used to match the target profile with user features associated with each coupon to obtain candidate coupons;
[0035] A rule verification module is used to verify the business rules of the candidate coupons through the responsibility chain of each candidate coupon, and issue the target coupons that pass the verification to the user; the responsibility chain is generated according to the business rules of the candidate coupon configuration.
[0036] The present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, any of the above-mentioned coupon issuing methods is implemented.
[0037] The present application also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, any of the above-mentioned coupon issuance methods is implemented.
[0038] The present application also provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the coupon issuing method described above is implemented.
[0039] The coupon distribution method, apparatus, device, storage medium and program product provided by the present application obtain candidate coupons by matching user profiles with user features associated with coupons, and adopt a chain of responsibility mechanism to perform business rule verification on the candidate coupons, and distribute the target coupons that pass the verification to the user, and adopt a method combining user profiles with business rule matching to recommend coupons to users, so that the coupons distributed to users have a higher match with the users, thereby improving the accuracy of coupon distribution. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0041] Figure 1 It is a flowchart of the coupon distribution method provided in the embodiment of the present application.
[0042] Figure 2 It is a schematic diagram of the coupon distribution process provided in the embodiment of the present application.
[0043] Figure 3 It is a structural schematic diagram of the coupon issuing device provided by the present invention.
[0044] Figure 4 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0046] Figure 1 is a flow chart of the coupon distribution method provided in the embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:
[0047] Step 100, obtaining a target profile of the user according to a preferential inquiry request of the user at the channel contact point side;
[0048] Step 200, matching the target profile with the user features associated with each coupon to obtain candidate coupons;
[0049] Step 300, through the responsibility chain of each candidate coupon, the candidate coupon is verified according to the business rules, and the target coupon that passes the verification is issued to the user; the responsibility chain is generated according to the business rules configured for the candidate coupon.
[0050] According to the user's discount query request on the channel touchpoint side, the user's target profile is obtained, and the target profile is matched with the user features associated with each coupon to obtain candidate coupons.
[0051] Among them, the user's target portrait can be constructed in advance. Specifically, a user portrait of each user is constructed in advance and associated with the user's user ID. When a discount query request from the user on the channel contact side is received, the target portrait of the user is obtained according to the user ID associated with the discount query request.
[0052] The user's target profile can also be constructed in real time. Specifically, when a user's discount query request is received on the channel touchpoint side, the user's relevant data is obtained based on the user identifier in the discount query request to construct the user's target profile.
[0053] Furthermore, the acquired target portrait is matched with the user features associated with each coupon to obtain candidate coupons, wherein the user features associated with each coupon are obtained by configuring the coupon. When generating the coupon, the configuration information of the coupon specifies that users with specific user features can receive the coupon.
[0054] Through the responsibility chain of each candidate coupon, the business rules of each candidate coupon matching the user profile are verified, and whether the user meets the conditions for using the candidate coupon is determined from the business dimension, and the target coupon that passes the verification is issued to the user. Among them, the responsibility chain of the candidate coupon is generated according to the business rules of the candidate coupon configuration.
[0055] Optionally, when setting up and generating the coupon, users with specific user characteristics are configured, and the coupon can only meet the redemption conditions if they have processed or activated specific services.
[0056] The responsibility chain of candidate coupons includes one or more operation nodes, each of which is associated with a verification rule configured for the candidate coupons, which is used to verify whether the user meets the conditions for using the coupons. When the business rules of the candidate coupons are verified through the responsibility chain of the candidate coupons, the rules are calculated in sequence according to the logical order of the operation nodes in the responsibility chain.
[0057] In this embodiment, candidate coupons are obtained by matching user portraits with user features associated with coupons, and a chain of responsibility mechanism is used to verify the business rules of the candidate coupons. The target coupons that pass the verification are issued to users. A method combining user portraits with business rule matching is used to recommend coupons to users. The coupons issued to users are more in line with user needs and business, and the matching degree between coupons and users is higher, thereby improving the accuracy of coupon issuance.
[0058] In one embodiment, when business rule verification is performed on candidate coupons, the coupons are packaged into tasks for implementation. In step 300, business rule verification is performed on candidate coupons through the responsibility chain of each candidate coupon, which may also include:
[0059] Step 301, packaging each candidate coupon into a task and placing it into a preset task pool;
[0060] Step 302, based on a preset maximum number of tasks to be executed in parallel, dynamically scheduling the tasks from the task pool in the order in which the tasks are stored;
[0061] Step 303: Perform business rule verification on the scheduled task through the responsibility chain of each candidate coupon.
[0062] Each candidate coupon is packaged into a task and placed in the preset task pool. Based on the preset maximum number of parallel execution tasks in the task pool, each task is dynamically scheduled from the task pool in the order in which the tasks are stored. Through the responsibility chain of the candidate coupon, the business rules of the scheduled tasks are verified.
[0063] Optionally, when a user makes a discount query on the channel touchpoint side, first match the valid coupons according to the user portrait and the user characteristics associated with the coupons to obtain candidate coupons; then query the user's real-time business information, such as the order amount, upgrade amount, call balance and order record, etc., and use parallel computing, chain of responsibility mechanism and other methods to match the user's business information with the business rules of the candidate coupons to verify the business rules, and provide the user with a coupon that accurately matches the business rules that the user meets.
[0064] When verifying business rules, the candidate coupons to be verified are packaged into tasks and placed in the task pool. Tasks are dynamically scheduled based on the maximum number of parallel execution tasks in the task pool and the order in which they are placed in the task pool. Each scheduled task is verified by business rules in turn through the responsibility chain of the candidate coupons, and accurate and effective target coupons are selected to be distributed to users.
[0065] Furthermore, the responsibility chain of the coupon includes multiple logical operation nodes, which at least include a non-operation node, a first AND operation node, a second AND operation node, an OR operation node, and a third AND operation node. Based on this, step 303 specifically also includes:
[0066] Step 313, through the non-operation nodes in the responsibility chain of the candidate coupon, the scheduled task is checked for marking rules to determine whether the user is a marked user;
[0067] Step 323: If the user is a non-marked user, the scheduled task is checked for a completed business rule through the first AND operation node in the responsibility chain, and a first coupon whose completed business of the user matches the opened business list of the candidate coupon is obtained;
[0068] Step 333: Perform an inventory rule check on the task corresponding to the first coupon through the second AND operation node in the responsibility chain to obtain a second coupon whose inventory quantity is greater than the required usage quantity of the user;
[0069] Step 343: Perform consumption rule verification on the task corresponding to the second coupon through the OR operation node in the responsibility chain to obtain a third coupon that passes the consumption rule verification;
[0070] Step 353: Perform a qualification check on the task corresponding to the third coupon through the third AND operation node in the responsibility chain.
[0071] When checking the business rules of the scheduled tasks, firstly, the non-operation node in the responsibility chain is used to check the marking rules of the scheduled tasks to determine whether the user is a marked user. If the user is a non-marked user, based on the user's real-time business information, the first AND operation node in the responsibility chain is used to check the business rules of the scheduled tasks, and obtain the first coupon whose completed business matches the list of opened businesses of the candidate coupons. Then, through the second AND operation node in the responsibility chain, the task corresponding to the first coupon is checked for inventory rules, and the second coupon whose inventory is greater than the required usage of the user is obtained. Then, through the OR operation node in the responsibility chain, the task corresponding to the second coupon is checked for consumption rules, and the third coupon that passes the consumption rule check is obtained. Finally, through the third AND operation node in the responsibility chain, the task corresponding to the third coupon is checked for limited eligibility, and the target coupon that determines that the user meets the limited eligibility is issued to the user.
[0072] Optionally, the list of activated services of the coupon is configured when the coupon is generated, and is used to specify which services the users have activated to meet the conditions for receiving the coupon.
[0073] Optionally, the consumption rules corresponding to the OR operation node include multiple consumption amount rules, and the multiple consumption amount rules include at least a user upgrade amount rule and a minimum consumption rule. The multiple consumption amount rules satisfy the OR relationship, that is, as long as one of the consumption amount rules is satisfied, the verification is passed. Exemplarily, the amount of the user's pre-processed product satisfies the upgrade amount rule, or the recent consumption amount satisfies the minimum consumption rule, then the verification is passed.
[0074] Optionally, for the limited eligibility verification, the number of times the user has participated in using the coupon is counted and compared with the number of times the same user is restricted in the limited rules configured for the coupon. If the number of times the user has participated in using the coupon is less than the limited number of times configured for the coupon, the verification passes.
[0075] Optionally, the first coupon, the second coupon, the third coupon and the target coupon may include one or more.
[0076] In one embodiment, the responsibility chain of the coupon is generated based on the configuration information of the coupon. In step 300, before the candidate coupon is checked for business rules through the responsibility chain of the candidate coupon, the following steps may also be included:
[0077] Step 210, obtaining configuration information of each coupon; the configuration information includes a coupon name, validity period, and multiple business rules;
[0078] Step 220, determining the operation type and operation duration of each logical operation node corresponding to the coupon in the responsibility chain according to the configuration information;
[0079] Step 230, determining the logical order of the logic operation nodes according to the operation type and the operation duration, and arranging the business rules into the logic operation nodes according to the logical order to generate the responsibility chain of the coupon.
[0080] Before checking the business rules of coupons, it is necessary to generate the responsibility chain of each coupon for the business rule verification of the coupons. Specifically, first obtain the configuration information of each coupon, which includes the coupon name, validity period and multiple business rules. The business rules are set by the operator according to actual business needs. The multiple business rules include inventory, minimum package level / order amount limit, collection conditions, order form, issuance method and call balance limit.
[0081] Furthermore, at least one logical operation node corresponding to the coupon in the responsibility chain is determined based on the configuration information of the coupon, and specifically, the operation type and operation duration of the logical operation node corresponding to each business rule in the responsibility chain are determined based on the business rules configured for the coupon. When the coupon corresponds to multiple logical operation nodes, the multiple logical operation nodes may include operation nodes of different operation types such as an OR operation node, an AND operation node, and a NO operation node. The operation durations of logical operation nodes of different operation types may be the same or different, and the operation durations of logical operation nodes of the same operation type may be the same or different.
[0082] According to the operation type and operation duration of the logical operation node, the logical order of each logical operation node is determined, and the business rules are arranged into the logical operation nodes of the responsibility chain according to the logical order to generate the responsibility chain of the coupon.
[0083] Optionally, the operation types include OR operation, AND operation and NOT operation. Logical operation nodes of different operation types have different priorities. The first logical order of logical operation nodes of different operation types corresponding to the coupon is determined according to the priority. On the basis of the first logical order, the second logical order between logical operation nodes of the same operation type is determined according to the operation time of the logical operation nodes of the same operation type, so that each logical operation node is arranged into the responsibility chain according to the first logical order and the second logical order. For logical operation nodes of the same operation type, they are sorted according to the operation time to obtain the second logical order. Optionally, the longer the operation time of the logical operation node, the closer its logical order in the responsibility chain is to the end of the responsibility chain.
[0084] In one embodiment, firstly, the non-operation type rules are serially connected to the responsibility chain, then the AND operation type rules are serially connected to the responsibility chain, then the OR operation type rules are grouped and serially connected to the responsibility chain, and finally, based on the logical order of sorting by operation type, the time-consuming logic operation nodes of the same operation type are arranged at the end of the responsibility chain to obtain the responsibility chain of the coupon.
[0085] Optionally, the user profile of each user is constructed in advance. Therefore, before step 100, the following may also be included:
[0086] Step 001, obtaining multi-dimensional data of each user; the multi-dimensional data includes basic information, behavior data, consumption data and communication group relationship data of each user;
[0087] Step 002: clustering the multidimensional data based on a preset clustering algorithm, and dividing each of the users into multiple user groups;
[0088] Step 003, iteratively optimizing the user groups according to the clustering effect to obtain the optimal number of user groups;
[0089] Step 004: Generate user portraits of different dimensions for each of the users based on the optimal number of groups.
[0090] The multi-dimensional data of each user is obtained, and the multi-dimensional data includes at least the basic information, behavior data, consumption data and communication group relationship data of each user. Among them, the basic information of the user includes age, region and credit rating, etc.; the behavior data of the user includes contact records, contact satisfaction and evaluation records, etc.; the consumption data of the user includes service subscription records, package and traffic balance, coupon records and browsing records, etc.; the communication group relationship data of the user includes primary and secondary cards, family numbers and home networks, etc.
[0091] Furthermore, based on a preset clustering algorithm, the acquired multidimensional data is clustered to divide each user into multiple user groups. Optionally, based on a preset clustering algorithm, such as a K-means clustering algorithm, data of the same dimension of different users is clustered to divide each user into multiple user groups on the dimension.
[0092] Furthermore, the divided user groups are iteratively optimized according to the clustering effect to obtain the optimal number of user groups, and user portraits of different dimensions for each user are generated based on the optimal number of groups.
[0093] The generated user portraits of different dimensions include at least a basic user portrait, a user behavior portrait, a user consumption portrait, and a user group relationship portrait. The basic user portrait is constructed based on the user's basic information, the user behavior portrait is constructed based on the user's behavior data, the user consumption portrait is constructed based on the user's consumption data, and the user group relationship portrait is constructed based on the user's communication group relationship data.
[0094] Optionally, before clustering the multidimensional data, the obtained multidimensional data may be preprocessed, and the preprocessed multidimensional data may be clustered based on a preset clustering algorithm. The preprocessing operations on the multidimensional data include deduplication, outlier detection, missing value filling, and noise processing. For the multidimensional data of each user obtained, the multidimensional data is first deduplicated by sorting and calculating similarities to ensure the validity of the data, and then the deduplicated multidimensional data is processed for exceptions by outlier detection and missing value filling to ensure data integrity. Finally, the data after exception processing is processed for noise by binning to ensure data accuracy.
[0095] Optionally, issuing the target coupon to the user includes, but is not limited to, sending the target coupon to the channel contact side and displaying it to the user for selection and use. Further, in step 300, after issuing the verified target coupon to the user, it may also include:
[0096] Step 401, receiving a service processing request from the user, and pre-occupying the target coupon according to the service processing request; the service processing request is initiated based on the user's use operation of the target coupon at the channel contact point side;
[0097] Step 402, receiving a deduction instruction sent by the channel contact side;
[0098] Step 403: deduct the target coupon inventory according to the deduction instruction, and generate a result of issuing the target coupon;
[0099] Step 404: Send the distribution result to the channel contact side.
[0100] After the target coupon is issued to the user, a business processing request from the user is received, and the target coupon is pre-stocked according to the business processing request. The business processing request is generated and initiated based on the user's use operation of the target coupon on the channel contact side.
[0101] In one embodiment, the target coupons include one or more, and the types of the multiple target coupons may be the same or different. The target coupons are sent to the channel contact side for the user to select and use. The user performs a use operation on the target coupon on the channel contact side, and a service processing request is generated and triggered. When a service processing request initiated by the user based on the target coupon is received, the target coupon requested by the user is pre-occupied in stock.
[0102] Receive the deduction instruction sent by the channel contact side, which is initiated for the redemption operation of the target coupon during the processing of the business requested by the user. According to the deduction instruction on the channel contact side, the inventory of the target coupon is deducted. According to the usage quantity of the target coupon requested in the user's business processing request, the inventory of the used target coupon is deducted to complete the redemption of the target coupon.
[0103] After the inventory deduction of the target coupon is completed, the issuance result of the target coupon is generated, and the issuance result is used to indicate whether the target coupon has been received and used, and the number of received and used coupons. The issuance result is sent to the channel contact side to notify the channel contact side of the issuance result of the target coupon. Optionally, the channel contact side can visually display the received issuance result to prompt the user that the coupon has been used.
[0104] In one embodiment, the coupon distribution method provided in the embodiment of the present application is applied to a coupon promotion system, referring to Figure 3 In the coupon issuance process shown, the big data platform obtains the user's behavior data from the call center, obtains the user's consumption data, communication group relationship data and basic information from the business acceptance system, obtains multi-dimensional data, and pre-processes the multi-dimensional data, and builds a user profile based on the multi-dimensional data after the pre-processing operation. Furthermore, the big data platform also obtains coupon information from the coupon promotion system, which is used for operators to configure coupon information. The coupon information to be configured includes the coupon name, validity period and business rules, etc., and binds the configured coupon to the user characteristics in the user portrait, thereby obtaining the user characteristics associated with the coupon.
[0105] Optionally, a coupon can be associated with one or more user features of a user profile, and user features in the same user profile can also be associated with one or more coupons. Exemplarily, the user features in the user profile that the coupon can be associated with include new users, silent users, 5G terminal users, users with insufficient traffic / voice / call fees, preferred users, and dissatisfied users.
[0106] Users access discount information through the Internet or hotline on the channel contact side to obtain available coupons. When receiving a discount query request initiated by a user on the channel contact side, the user's target profile is obtained, and matching is performed based on the user's target profile to obtain candidate coupons. Then, through the responsibility chain of each candidate coupon, the business rules of the candidate coupons are verified, and the target coupons that pass the business rule verification are issued to the user, so as to achieve accurate recommendation of coupons.
[0107] Furthermore, the user can initiate a business processing request based on the issued target coupons on the channel contact side, so as to use the target coupons to process the business. When the preferential promotion system receives the business processing request initiated by the user on the channel contact side, it reserves the stock of the target coupons requested in the user's business processing request. The number of coupons reserved in the stock is the same as the number of coupons requested in the user's business processing request.
[0108] During the user's business handling process, the channel contact side will display coupons that match the business handled by the user. When the user performs the collection operation, the inventory of the coupons collected by the user is pre-occupied. When the user performs the business handling, the deduction instruction is triggered according to the coupons collected by the user, and the coupons collected by the user are deducted and written off. Specifically, the discount promotion system receives the deduction instruction from the channel contact side, performs discount redemption according to the deduction instruction, and deducts the inventory of the target coupons. The number of coupons deducted is the same as the number of coupons collected by the user. After completing the inventory deduction of the target coupons collected by the user, the issuance result of the target coupons is generated, and the issuance result is notified to the channel contact side.
[0109] In this embodiment, responsibility chain and logical operations are used to verify the business rules of coupons, and a method combining multi-dimensional user portraits and business rule matching is used to issue eligible coupons to users, thereby improving the fit between coupons and users and achieving accurate issuance of coupons.
[0110] Furthermore, by building user portraits in advance, when users query discount information, the pre-built user portraits are quickly matched with the user features associated with the coupons to screen out valid coupons, and efficient and accurate batch recommendation and distribution of coupons can be achieved in scenarios where user portraits are offline or quasi-real time. At the same time, the matching degree between users and coupons is improved through business rule verification, thereby increasing the probability of users placing orders and improving business marketing effects.
[0111] In addition, the use of logical operations and responsibility chain mechanism for rule matching can not only accurately match the best coupon within the user rules and provide it to the channel touchpoint side, but also realize the flexible configuration of coupon special rules, improve the flexibility of coupon recommendation rules, and thus improve recommendation efficiency.
[0112] The use of the responsibility chain mechanism for business rule verification can realize parallel computing of coupon rule verification, improve the ability of real-time batch verification of coupons, and thus improve user query perception.
[0113] The following is a description of a coupon issuing device provided in an embodiment of the present application. The coupon issuing device described below and the coupon issuing method described above can be referenced to each other.
[0114] Reference Figure 3 , the coupon issuing device provided in the embodiment of the present application includes:
[0115] The acquisition module 10 is used to acquire the target profile of the user according to the user's preferential query request on the channel contact side;
[0116] A matching module 20, for matching the target profile with user features associated with each coupon to obtain candidate coupons;
[0117] The rule verification module 30 is used to verify the business rules of the candidate coupons through the responsibility chain of each candidate coupon, and issue the target coupons that pass the verification to the user; the responsibility chain is generated according to the business rules of the candidate coupons.
[0118] In one embodiment, the rule verification module 30 is further used to:
[0119] Packing each of the candidate coupons into a task and placing it into a preset task pool;
[0120] Based on a preset maximum number of tasks to be executed in parallel, dynamically scheduling the tasks from the task pool in the order in which the tasks are stored;
[0121] The scheduled task is verified by business rules through the responsibility chain of each candidate coupon.
[0122] In one embodiment, the responsibility chain includes a plurality of logic operation nodes, and the plurality of logic operation nodes at least include a non-operation node, a first AND operation node, a second AND operation node, an OR operation node, and a third AND operation node; the rule checking module 30 is further used to:
[0123] Through the non-operation nodes in the responsibility chain of the candidate coupon, the scheduled task is checked for marking rules to determine whether the user is a marked user;
[0124] If the user is a non-marked user, the scheduled task is checked for a completed business rule through the first AND operation node in the responsibility chain, and a first coupon matching the completed business of the user with the opened business list of the candidate coupon is obtained;
[0125] By using the second AND operation node in the responsibility chain, the task corresponding to the first coupon is checked for inventory rules to obtain a second coupon whose inventory quantity is greater than the required usage quantity of the user;
[0126] Through the OR operation node in the responsibility chain, the consumption rule verification is performed on the task corresponding to the second coupon to obtain a third coupon that passes the consumption rule verification;
[0127] The task corresponding to the third coupon is verified for eligibility through the third AND operation node in the responsibility chain.
[0128] In one embodiment, the coupon issuing device further includes a coupon configuration module, which is used to:
[0129] Obtaining configuration information of each of the coupons; the configuration information includes a coupon name, an expiration date, and a plurality of business rules;
[0130] Determine the operation type and operation duration of each logical operation node corresponding to the coupon in the responsibility chain according to the configuration information;
[0131] The logical order of the logic operation nodes is determined according to the operation type and the operation duration, and the business rules are arranged into the logic operation nodes according to the logical order to generate the responsibility chain of the coupon.
[0132] In one embodiment, the coupon issuing device further includes a user portrait building module, which is used to:
[0133] Acquire multidimensional data of each user; the multidimensional data includes basic information, behavior data, consumption data and communication group relationship data of each user;
[0134] Based on a preset clustering algorithm, clustering the multidimensional data, and dividing each of the users into multiple user groups;
[0135] Iteratively optimize the user group according to the clustering effect to obtain the optimal number of groups of the user group;
[0136] Based on the optimal number of groups, user portraits of different dimensions are generated for each of the users.
[0137] In one embodiment, the coupon issuing device further includes a coupon deduction module, which is used to:
[0138] receiving a business processing request from the user, and pre-occupying the target coupon according to the business processing request; the business processing request is initiated based on the user's use operation of the target coupon at the channel contact point;
[0139] Receiving a deduction instruction sent by the channel contact side;
[0140] Deducting the target coupon inventory according to the deduction instruction and generating a result of issuing the target coupon;
[0141] The distribution result is sent to the channel contact side.
[0142] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the coupon issuing method, which includes:
[0143] According to the user's preferential query request on the channel touchpoint side, the target profile of the user is obtained;
[0144] Matching the target profile with user features associated with each coupon to obtain candidate coupons;
[0145] Through the responsibility chain of each candidate coupon, the candidate coupon is verified according to the business rules, and the target coupon that passes the verification is issued to the user; the responsibility chain is generated according to the business rules configured for the candidate coupon.
[0146] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0147] On the other hand, an embodiment of the present application further provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the coupon issuance method provided by the above methods, the method includes:
[0148] According to the user's preferential query request on the channel touchpoint side, the target profile of the user is obtained;
[0149] Matching the target profile with user features associated with each coupon to obtain candidate coupons;
[0150] Through the responsibility chain of each candidate coupon, the candidate coupon is verified according to the business rules, and the target coupon that passes the verification is issued to the user; the responsibility chain is generated according to the business rules configured for the candidate coupon.
[0151] In another aspect, the embodiment of the present application further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for issuing coupons provided by the above methods is implemented, and the method includes:
[0152] According to the user's preferential query request on the channel touchpoint side, the target profile of the user is obtained;
[0153] Matching the target profile with user features associated with each coupon to obtain candidate coupons;
[0154] Through the responsibility chain of each candidate coupon, the candidate coupon is verified according to the business rules, and the target coupon that passes the verification is issued to the user; the responsibility chain is generated according to the business rules configured for the candidate coupon.
[0155] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0156] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0157] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A coupon distribution method, characterized in that: include: According to the user's preferential query request on the channel touchpoint side, the target profile of the user is obtained; Matching the target profile with user features associated with each coupon to obtain candidate coupons; Through the responsibility chain of each candidate coupon, the candidate coupon is verified according to the business rules, and the target coupon that passes the verification is issued to the user; the responsibility chain is generated according to the business rules configured for the candidate coupon.
2. The coupon distribution method according to claim 1, characterized in that: The business rule verification of the candidate coupons is performed through the responsibility chain of each candidate coupon, including: Packing each of the candidate coupons into a task and placing it into a preset task pool; Based on a preset maximum number of tasks to be executed in parallel, dynamically scheduling the tasks from the task pool in the order in which the tasks are stored; The scheduled task is verified by business rules through the responsibility chain of each candidate coupon.
3. The coupon distribution method according to claim 2, characterized in that: The responsibility chain includes a plurality of logic operation nodes, and the plurality of logic operation nodes at least include a non-operation node, a first AND operation node, a second AND operation node, an OR operation node, and a third AND operation node; The business rule verification of the scheduled task is performed through the responsibility chain of each candidate coupon, including: Through the non-operation nodes in the responsibility chain of the candidate coupon, the scheduled task is checked for marking rules to determine whether the user is a marked user; If the user is a non-marked user, the scheduled task is checked for a completed business rule through the first AND operation node in the responsibility chain, and a first coupon matching the completed business of the user with the opened business list of the candidate coupon is obtained; By using the second AND operation node in the responsibility chain, the task corresponding to the first coupon is checked for inventory rules to obtain a second coupon whose inventory quantity is greater than the required usage quantity of the user; Through the OR operation node in the responsibility chain, the consumption rule verification is performed on the task corresponding to the second coupon to obtain a third coupon that passes the consumption rule verification; The task corresponding to the third coupon is verified for eligibility through the third AND operation node in the responsibility chain.
4. The coupon distribution method according to claim 1, characterized in that: Before verifying the business rules of the candidate coupons through the responsibility chain of each candidate coupon, the method further includes: Obtaining configuration information of each of the coupons; the configuration information includes a coupon name, an expiration date, and a plurality of business rules; Determine the operation type and operation duration of each logical operation node corresponding to the coupon in the responsibility chain according to the configuration information; The logical order of the logic operation nodes is determined according to the operation type and the operation duration, and the business rules are arranged into the logic operation nodes according to the logical order to generate the responsibility chain of the coupon.
5. The coupon distribution method according to claim 1, characterized in that: Before obtaining the target profile of the user according to the preferential query request of the user on the channel contact point side, the method further includes: Acquire multidimensional data of each user; the multidimensional data includes basic information, behavior data, consumption data and communication group relationship data of each user; Based on a preset clustering algorithm, clustering the multidimensional data, and dividing each of the users into multiple user groups; Iteratively optimize the user group according to the clustering effect to obtain the optimal number of groups of the user group; Based on the optimal number of groups, user portraits of different dimensions are generated for each of the users.
6. The coupon distribution method according to claim 1, characterized in that: After the verified target coupon is issued to the user, the method further includes: receiving a business processing request from the user, and pre-occupying the target coupon according to the business processing request; the business processing request is initiated based on the user's use operation of the target coupon at the channel contact point; Receiving a deduction instruction sent by the channel contact side; Deducting the target coupon inventory according to the deduction instruction and generating a result of issuing the target coupon; The distribution result is sent to the channel contact side.
7. A coupon issuing device, characterized in that: include: An acquisition module, used to acquire a target profile of the user according to a preferential inquiry request of the user on the channel contact point side; A matching module, used to match the target profile with user features associated with each coupon to obtain candidate coupons; A rule verification module is used to verify the business rules of the candidate coupons through the responsibility chain of each candidate coupon, and issue the target coupons that pass the verification to the user; the responsibility chain is generated according to the business rules of the candidate coupon configuration.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the coupon issuing method according to any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the coupon issuing method according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the coupon issuing method according to any one of claims 1 to 6 is implemented.
Citation Information
Cited By
Coupon issuing method and system based on B2B2C shopping mall, and electronic equipment
CN121258590A