CN114298766A - Lottery dispatching data processing method and device of marketing system and computer equipment - Google Patents

Lottery dispatching data processing method and device of marketing system and computer equipment Download PDF

Info

Publication number
CN114298766A
CN114298766A CN202111663079.2A CN202111663079A CN114298766A CN 114298766 A CN114298766 A CN 114298766A CN 202111663079 A CN202111663079 A CN 202111663079A CN 114298766 A CN114298766 A CN 114298766A
Authority
CN
China
Prior art keywords
award
data
user
target user
regular expression
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111663079.2A
Other languages
Chinese (zh)
Inventor
苏恒聪
曾健豪
邱亭亭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Lingshiji Information Technology Co ltd
Original Assignee
Guangzhou Lingshiji Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Lingshiji Information Technology Co ltd filed Critical Guangzhou Lingshiji Information Technology Co ltd
Priority to CN202111663079.2A priority Critical patent/CN114298766A/en
Publication of CN114298766A publication Critical patent/CN114298766A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a lottery dispatching data processing method, a lottery dispatching data processing device, computer equipment and a storage medium of a marketing system, wherein the method comprises the following steps: acquiring user data of a target user, wherein the user data comprises historical behavior data and user account data of the target user; reading a regular expression of a marketing campaign, wherein the regular expression is obtained based on a plurality of award dispatching strategies; verifying whether the historical behavior data and the user account data of the target user meet the regular expression by using an Aviator expression evaluation engine; and if so, sending award sending data to the target user. The method can check whether the user related data meets the prize sending condition by using the Aviator expression evaluation engine to carry out prize sending control, thereby reducing a large amount of development work.

Description

Lottery dispatching data processing method and device of marketing system and computer equipment
Technical Field
The invention relates to the field of data processing, in particular to a prize sending data processing method and device of a marketing system, computer equipment and a storage medium.
Background
The traditional marketing system is often provided with various and rich scenes, wherein the distribution of the rewards is the most important point, and different reward distribution conditions can be generated under different scenes of different activities. The marketing system carries out lottery dispatching based on different lottery dispatching conditions. The technical scheme of the existing marketing system for awarding the prize is that after a product manager evaluates activity requirements under a certain requirement scene, various preposed conditions are determined to be added, a plurality of corresponding condition frames are added to a background used by an operator or the product manager for configuration of the operator, then a back-end code is added to carry out different checks on each preposed condition, the prize is not awarded to a user if the check is not passed, and the prize is awarded to the user if the check is passed.
The technical scheme of the marketing system for awarding has the following problems:
1. various demand scenarios require a large number of special configurations to be added, and the complexity of the system is increased.
2. A large number of special configurations increase the operating and learning costs of the operation.
3. And a large amount of configuration is added, development and modification of codes are required to be invested each time, so that regression testing is required to verify the whole project, and a large amount of manpower is required to be invested.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a marketing system prize sending data processing method, a marketing system prize sending data processing device, computer equipment and a marketing system prize sending data processing storage medium, wherein an Aviator expression evaluation engine can be used for verifying whether user related data meet prize sending conditions or not so as to carry out prize sending control, and further a large amount of development work is reduced.
In order to solve at least one technical problem, an embodiment of the present invention provides a method for processing prize-dispatching data of a marketing system, including:
acquiring user data of a target user, wherein the user data comprises historical behavior data and user account data of the target user;
reading a regular expression of a marketing campaign, wherein the regular expression is obtained based on a plurality of award dispatching strategies;
verifying whether the historical behavior data and the user account data of the target user meet the regular expression by using an Aviator expression evaluation engine;
and if so, sending award sending data to the target user.
In one embodiment, the method further comprises:
obtaining a plurality of award dispatching strategies input by an operation configuration page and strategy values of the award dispatching strategies;
and generating the regular expression according to the plurality of prize dispatching strategies and the strategy values of the prize dispatching strategies.
In one embodiment, the plurality of award policies includes a first award policy in which a number of days a user checks in is greater than a first value, and the policy value includes the first value corresponding to the first award policy;
the verifying whether the historical behavior data of the target user and the user account data meet the regular expression by using an avertor expression evaluation engine includes:
and verifying whether the check-in days in the historical behavior data of the target user are larger than the first numerical value by using an Aviator expression evaluation engine, and if so, satisfying the regular expression.
In one embodiment, the plurality of award strategies include a second award strategy that the number of times the user shares the award in the month is less than a second value, and the strategy value includes the second value corresponding to the second award strategy;
the verifying whether the historical behavior data of the target user and the user account data meet the regular expression by using an avertor expression evaluation engine includes:
and verifying whether the sharing times in the historical behavior data of the target user are smaller than the second numerical value or not by using an Aviator expression evaluation engine, and if so, satisfying the regular expression.
In one embodiment, the plurality of award policies includes a third award policy with a user face value equal to a third numeric value, the policy value includes the third numeric value corresponding to the third award policy;
the verifying whether the historical behavior data of the target user and the user account data meet the regular expression by using an avertor expression evaluation engine includes:
and verifying whether the face value in the user account data of the target user is equal to the third numerical value or not by using an Aviator expression evaluation engine, and if so, satisfying the regular expression.
In one embodiment, the regular expressions are multiple, and each award dispensing strategy and the strategy value of each award dispensing strategy generate a corresponding regular expression; the verifying whether the historical behavior data and the user account data of the target user meet the regular expression by using an avertor expression evaluation engine, if so, sending award sending data to the target user, and the method comprises the following steps:
verifying whether the historical behavior data and the user account data of the target user are each the regular expression or not by using an Aviator expression evaluation engine;
and if all the regular expressions are met, sending award sending data to the target user.
In one embodiment, the plurality of award serving strategies include a first award serving strategy in which the number of days that a user signs in is greater than a first value, a second award serving strategy in which the number of times that the user shares the same month is less than a second value, and a third award serving strategy in which a user face value is equal to a third value, and the strategy values include the first value corresponding to the first award serving strategy, the second value corresponding to the second award serving strategy, and the third value corresponding to the third award serving strategy;
the strategy values of the lottery distributing strategies and the lottery distributing strategies generate corresponding regular expressions, wherein the regular expressions comprise a first regular expression generated by the first lottery distributing strategy and the first numerical value, a second regular expression generated by the second lottery distributing strategy and the second numerical value, and a third regular expression generated by the third lottery distributing strategy and the third numerical value;
the verifying whether the historical behavior data of the target user and the user account data meet the regular expression by using an avertor expression evaluation engine includes:
checking whether the number of check-in days in the historical behavior data of the target user is greater than the first numerical value or not by using an Aviator expression evaluation engine, and if so, meeting the first regular expression;
verifying whether the number of times of sharing in the historical behavior data of the target user is smaller than the second numerical value or not by using an Aviator expression evaluation engine, and if so, satisfying the second regular expression;
verifying whether the face value in the user account data of the target user is equal to the third numerical value or not by using an Aviator expression evaluation engine, and if so, satisfying the third regular expression;
if yes, sending award sending data to the target user, wherein the award sending data comprises the following steps:
and if the first regular expression, the second regular expression and the third regular expression are simultaneously satisfied, sending award data to the target user.
A prize delivery data processing apparatus for a marketing system, the apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring user data of a target user, and the user data comprises historical behavior data and user account data of the target user;
the reading module is used for reading a regular expression of the marketing activity, and the regular expression is obtained based on a plurality of award dispatching strategies;
the verification module is used for verifying whether the historical behavior data of the target user and the user account data meet the regular expression or not by utilizing an avertor expression evaluation engine;
and the sending module is used for sending the prize sending data to the target user if the prize sending data is positive.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of any of the above embodiments when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any of the above embodiments.
The prize sending data processing method, the prize sending data processing device, the computer equipment and the storage medium of the marketing system obtain user data of a target user, wherein the user data comprises historical behavior data and user account data of the target user; reading a regular expression of a marketing campaign, wherein the regular expression is obtained based on a plurality of award dispatching strategies; verifying whether the historical behavior data and the user account data of the target user meet the regular expression by using an Aviator expression evaluation engine; and if so, sending award sending data to the target user. Therefore, whether the user related data meet the prize sending condition or not can be verified by using the Aviator expression evaluation engine to carry out prize sending control, special configuration is greatly reduced, the complexity of the system is reduced, and various requirements can be realized under flexible configuration; the fixed configuration mode greatly reduces the operation cost and the learning cost of operation; a large number of special configurations are reduced, and development investment projects are reduced to modify different configurations and check codes, so that regression testing is not needed to verify the whole project, and a large amount of labor is saved.
Drawings
Fig. 1 is a flow chart of a prize-dispatching data processing method of a marketing system according to an embodiment of the invention;
FIG. 2 is a schematic diagram of the architecture of the Aviator according to an embodiment of the present invention;
FIG. 3 is a diagram of a configuration page for a prize awarding policy according to an embodiment of the present invention;
fig. 4 is a block diagram of a prize-assigning data processing device of a marketing system according to an embodiment of the present invention;
fig. 5 is a schematic structural component diagram of a computer device in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a prize sending data processing method of a marketing system, which is applied to the marketing system. As shown in fig. 1, the method for processing prize awarding data of the marketing system includes the following steps:
s102, obtaining user data of a target user, wherein the user data comprises historical behavior data and user account data of the target user.
And S104, reading a regular expression of the marketing activity, wherein the regular expression is obtained based on a plurality of prize sending strategies.
And S106, verifying whether the historical behavior data of the target user and the user account data meet the regular expression by using an avertor expression evaluation engine.
And S108, if yes, sending award sending data to the target user.
Specifically, a target user registers a user account on the activity platform, and uses the user account to perform application operation on the activity platform. The activity platform obtains user data of the target user. The user data includes historical behavior data and user account data of the target user. The user account data comprises account value, account grade and the like. The historical behavior data of the target user comprises user sign-in behavior data, user sharing platform activity data and the like. The marketing system obtains user data of a target user from the activity platform.
And a regular expression of the marketing activity is configured in the marketing system. Wherein the regular expression is derived based on a plurality of awarding strategies. And the plurality of prize sending strategies are obtained by configuring the operation personnel through a configuration terminal. The plurality of award dispensing strategies correspond to the plurality of strategy values, and a rule expression is obtained based on the plurality of strategy values.
The marketing system verifies whether the obtained historical behavior data of the target user and the user account data meet the regular expression by using an avertor expression evaluation engine. Specifically, configured payoff policies and policy value calculation comparisons are calculated using the aviatoevaluator variable formula of the open source google. The Aviator is a high-performance and lightweight expression evaluation engine realized by java language, and is mainly used for dynamic evaluation of various expressions. The implementation idea of Aviator is very different from other lightweight evaluators, other evaluators generally operate in an interpretation mode, and Aviator directly compiles an expression into Java bytecode and gives the Java bytecode to a JVM to execute. Aviator supports most arithmetic operators including arithmetic operators, relational operators, logical operators, bit operators, regular match operators (═ to), ternary expressions (. The structure of Aviator is shown in fig. 2.
In addition, a plurality of custom matching rules including inclusion and inequality are expanded on the basis of the Aviator in combination with service requirements. The Aviator allows a user to customize functions in addition to built-in functions, and can be used as long as a com. The aviator function interface is very large, and generally speaking, all methods do not need to be realized, and only the corresponding method of the abstract function class override is inherited according to the number of parameters of the method. The registry function may be removed by removeFunction by the avitorevaluator. If the number of the parameters is uncertain, the abstract variable function class can be inherited, and the variadeccicall method can be realized. Therefore, a large amount of development work is reduced through calculation of the aviatoevaluators variable formula of google, and the expansion is customized for various service scenes to realize various requirements. After the point burying strategies are matched, repeated development work is not needed.
And when the marketing system verifies that the historical behavior data and the user account data of the target user meet the regular expression through the Aviator expression evaluation engine, the marketing system sends award sending data to the target user.
The prize awarding data processing method of the marketing system obtains user data of a target user, wherein the user data comprises historical behavior data and user account data of the target user; reading a regular expression of a marketing campaign, wherein the regular expression is obtained based on a plurality of award dispatching strategies; verifying whether the historical behavior data and the user account data of the target user meet the regular expression by using an Aviator expression evaluation engine; and if so, sending award sending data to the target user. Therefore, whether the user related data meet the prize sending condition or not can be verified by using the Aviator expression evaluation engine to carry out prize sending control, special configuration is greatly reduced, the complexity of the system is reduced, and various requirements can be realized under flexible configuration; the fixed configuration mode greatly reduces the operation cost and the learning cost of operation; a large number of special configurations are reduced, and development investment projects are reduced to modify different configurations and check codes, so that regression testing is not needed to verify the whole project, and a large amount of labor is saved.
In an embodiment, before reading the regular expression of the marketing campaign, the step S104 further includes: obtaining a plurality of award dispatching strategies input by an operation configuration page and strategy values of the award dispatching strategies; and generating the regular expression according to the plurality of prize dispatching strategies and the strategy values of the prize dispatching strategies.
Specifically, the configuration page used by the operator provides various conditions of the award dispatching strategy for operation selection configuration, multiple award dispatching strategies can be flexibly configured, and various award dispatching conditions can be realized. After the marketing system sets marketing code buried points, intelligently reads the distributed prize sending strategies and the strategy values of the prize sending strategies in the marketing activities of the configured page, and generates regular expressions according to the plurality of prize sending strategies and the strategy values of the prize sending strategies.
In one embodiment, the plurality of award policies include a first award policy in which a number of days that a user checks in is greater than a first value, and the policy value includes the first value corresponding to the first award policy; the verifying whether the historical behavior data of the target user and the user account data meet the regular expression by using an avertor expression evaluation engine includes: and verifying whether the check-in days in the historical behavior data of the target user are larger than the first numerical value by using an Aviator expression evaluation engine, and if so, satisfying the regular expression.
In one embodiment, the plurality of award strategies include a second award strategy that the number of times the user shares the award in the month is less than a second value, and the strategy value includes the second value corresponding to the second award strategy; the verifying whether the historical behavior data of the target user and the user account data meet the regular expression by using an avertor expression evaluation engine includes: and verifying whether the sharing times in the historical behavior data of the target user are smaller than the second numerical value or not by using an Aviator expression evaluation engine, and if so, satisfying the regular expression.
In one embodiment, the plurality of award policies includes a third award policy with a user face value equal to a third numeric value, the policy value includes the third numeric value corresponding to the third award policy; the verifying whether the historical behavior data of the target user and the user account data meet the regular expression by using an avertor expression evaluation engine includes: and verifying whether the face value in the user account data of the target user is equal to the third numerical value or not by using an Aviator expression evaluation engine, and if so, satisfying the regular expression.
Specifically, as shown in fig. 3. The operation configuration page needs to support various conditions, the operator can combine various different matching conditions of a plurality of strategies for matching use, and when the user meets various conditions, the prize is triggered to be distributed, and different rewards are distributed to the user.
For example, the first awarding policy in which the number of days the user checked in is greater than the first value is "day number of check in" comparison item type "shown in fig. 3, and the first value is 1. The corresponding regular expression is that the number of days that the user checked in N1 is greater than 1.
The second awarding policy in which the number of times of sharing in the month by the user is smaller than the second numerical value is "sharing in the month for the second time" in the "comparison item type" shown in fig. 3, and the second numerical value is 5. The corresponding regular expression is that N2 is less than 5 in the N2 th share of the month.
The third award policy in which the user face value is equal to the third numeric value is "face value" in "comparison item type" shown in fig. 3, and the third numeric value is 100. The corresponding regular expression is the face value N3-100.
In one embodiment, the regular expressions are multiple, and each award dispensing strategy and the strategy value of each award dispensing strategy generate a corresponding regular expression; the verifying whether the historical behavior data and the user account data of the target user meet the regular expression by using an avertor expression evaluation engine, if so, sending award sending data to the target user, and the method comprises the following steps: verifying whether the historical behavior data and the user account data of the target user are each the regular expression or not by using an Aviator expression evaluation engine; and if all the regular expressions are met, sending award sending data to the target user.
In one embodiment, the plurality of award serving strategies include a first award serving strategy in which the number of days that a user signs in is greater than a first value, a second award serving strategy in which the number of times that the user shares the same month is less than a second value, and a third award serving strategy in which a user face value is equal to a third value, and the strategy values include the first value corresponding to the first award serving strategy, the second value corresponding to the second award serving strategy, and the third value corresponding to the third award serving strategy; the strategy values of the lottery distributing strategies and the lottery distributing strategies generate corresponding regular expressions, wherein the regular expressions comprise a first regular expression generated by the first lottery distributing strategy and the first numerical value, a second regular expression generated by the second lottery distributing strategy and the second numerical value, and a third regular expression generated by the third lottery distributing strategy and the third numerical value; the verifying whether the historical behavior data of the target user and the user account data meet the regular expression by using an avertor expression evaluation engine includes: checking whether the number of check-in days in the historical behavior data of the target user is greater than the first numerical value or not by using an Aviator expression evaluation engine, and if so, meeting the first regular expression; verifying whether the number of times of sharing in the historical behavior data of the target user is smaller than the second numerical value or not by using an Aviator expression evaluation engine, and if so, satisfying the second regular expression; verifying whether the face value in the user account data of the target user is equal to the third numerical value or not by using an Aviator expression evaluation engine, and if so, satisfying the third regular expression; if yes, sending award sending data to the target user, wherein the award sending data comprises the following steps: and if the first regular expression, the second regular expression and the third regular expression are simultaneously satisfied, sending award data to the target user.
Specifically, the number of the regular expressions is multiple, and each award dispensing strategy and the strategy value of each award dispensing strategy generate a corresponding regular expression; verifying whether historical behavior data of a target user and user account data are each regular expression or not by using an Aviator expression evaluation engine; and if all the regular expressions are met, sending award sending data to the target user.
For example, as described above with respect to the example of fig. 3. In this embodiment, when the Aviator expression evaluation engine is used to verify the historical behavior data and the user account data of the target user, in the verification process, it is determined that the verification is passed only if three conditions, that the number of sign-in days in the historical behavior data of the target user is greater than a first value, the number of sharing times in the historical behavior data of the target user is less than a second value, and a face value in the user account data of the target user is equal to a third value, are simultaneously satisfied, and then the operation of sending the award data to the target user can be performed.
Therefore, the scheme can greatly reduce special configuration, reduce the complexity of the system and realize various requirements under flexible configuration; the fixed configuration mode greatly reduces the operation cost and the learning cost of operation; a large number of special configurations are reduced, and development investment projects are reduced to modify different configurations and check codes, so that regression testing is not needed to verify the whole project, and a large amount of labor is saved.
As shown in fig. 4, the award dispatching data processing device of the marketing system includes an obtaining module 402, a reading module 404, a verifying module 406, and a sending module 408.
An obtaining module 402, configured to obtain user data of a target user, where the user data includes historical behavior data and user account data of the target user.
The reading module 404 is configured to read a regular expression of the marketing campaign, where the regular expression is obtained based on a plurality of award serving policies.
A checking module 406, configured to check, by using an Aviator expression evaluation engine, whether the historical behavior data of the target user and the user account data satisfy the regular expression.
And a sending module 408, configured to send award data to the target user if yes.
Specifically, a target user registers a user account on the activity platform, and uses the user account to perform application operation on the activity platform. The activity platform obtains user data of the target user. The user data includes historical behavior data and user account data of the target user. The user account data comprises account value, account grade and the like. The historical behavior data of the target user comprises user sign-in behavior data, user sharing platform activity data and the like. The marketing system obtains user data of a target user from the activity platform.
And a regular expression of the marketing activity is configured in the marketing system. Wherein the regular expression is derived based on a plurality of awarding strategies. And the plurality of prize sending strategies are obtained by configuring the operation personnel through a configuration terminal. The plurality of award dispensing strategies correspond to the plurality of strategy values, and a rule expression is obtained based on the plurality of strategy values.
The marketing system verifies whether the obtained historical behavior data of the target user and the user account data meet the regular expression by using an avertor expression evaluation engine. Specifically, configured payoff policies and policy value calculation comparisons are calculated using the aviatoevaluator variable formula of the open source google. The Aviator is a high-performance and lightweight expression evaluation engine realized by java language, and is mainly used for dynamic evaluation of various expressions. The implementation idea of Aviator is very different from other lightweight evaluators, other evaluators generally operate in an interpretation mode, and Aviator directly compiles an expression into Java bytecode and gives the Java bytecode to a JVM to execute. Aviator supports most arithmetic operators including arithmetic operators, relational operators, logical operators, bit operators, regular match operators (═ to), ternary expressions (. The structure of Aviator is shown in fig. 2.
In addition, a plurality of custom matching rules including inclusion and inequality are expanded on the basis of the Aviator in combination with service requirements. The Aviator allows a user to customize functions in addition to built-in functions, and can be used as long as a com. The aviator function interface is very large, and generally speaking, all methods do not need to be realized, and only the corresponding method of the abstract function class override is inherited according to the number of parameters of the method. The registry function may be removed by removeFunction by the avitorevaluator. If the number of the parameters is uncertain, the abstract variable function class can be inherited, and the variadeccicall method can be realized. Therefore, a large amount of development work is reduced through calculation of the aviatoevaluators variable formula of google, and the expansion is customized for various service scenes to realize various requirements. After the point burying strategies are matched, repeated development work is not needed.
And when the marketing system verifies that the historical behavior data and the user account data of the target user meet the regular expression through the Aviator expression evaluation engine, the marketing system sends award sending data to the target user.
The prize sending data processing device of the marketing system obtains user data of a target user, wherein the user data comprises historical behavior data and user account data of the target user; reading a regular expression of a marketing campaign, wherein the regular expression is obtained based on a plurality of award dispatching strategies; verifying whether the historical behavior data and the user account data of the target user meet the regular expression by using an Aviator expression evaluation engine; and if so, sending award sending data to the target user. Therefore, whether the user related data meet the prize sending condition or not can be verified by using the Aviator expression evaluation engine to carry out prize sending control, special configuration is greatly reduced, the complexity of the system is reduced, and various requirements can be realized under flexible configuration; the fixed configuration mode greatly reduces the operation cost and the learning cost of operation; a large number of special configurations are reduced, and development investment projects are reduced to modify different configurations and check codes, so that regression testing is not needed to verify the whole project, and a large amount of labor is saved.
In one embodiment, before reading the regular expression of the marketing campaign, the method further includes: obtaining a plurality of award dispatching strategies input by an operation configuration page and strategy values of the award dispatching strategies; and generating the regular expression according to the plurality of prize dispatching strategies and the strategy values of the prize dispatching strategies.
Specifically, the configuration page used by the operator provides various conditions of the award dispatching strategy for operation selection configuration, multiple award dispatching strategies can be flexibly configured, and various award dispatching conditions can be realized. After the marketing system sets marketing code buried points, intelligently reads the distributed prize sending strategies and the strategy values of the prize sending strategies in the marketing activities of the configured page, and generates regular expressions according to the plurality of prize sending strategies and the strategy values of the prize sending strategies.
In one embodiment, the plurality of award policies include a first award policy in which a number of days that a user checks in is greater than a first value, and the policy value includes the first value corresponding to the first award policy; the verifying whether the historical behavior data of the target user and the user account data meet the regular expression by using an avertor expression evaluation engine includes: and verifying whether the check-in days in the historical behavior data of the target user are larger than the first numerical value by using an Aviator expression evaluation engine, and if so, satisfying the regular expression.
In one embodiment, the plurality of award strategies include a second award strategy that the number of times the user shares the award in the month is less than a second value, and the strategy value includes the second value corresponding to the second award strategy; the verifying whether the historical behavior data of the target user and the user account data meet the regular expression by using an avertor expression evaluation engine includes: and verifying whether the sharing times in the historical behavior data of the target user are smaller than the second numerical value or not by using an Aviator expression evaluation engine, and if so, satisfying the regular expression.
In one embodiment, the plurality of award policies includes a third award policy with a user face value equal to a third numeric value, the policy value includes the third numeric value corresponding to the third award policy; the verifying whether the historical behavior data of the target user and the user account data meet the regular expression by using an avertor expression evaluation engine includes: and verifying whether the face value in the user account data of the target user is equal to the third numerical value or not by using an Aviator expression evaluation engine, and if so, satisfying the regular expression.
Specifically, as shown in fig. 3. The operation configuration page needs to support various conditions, the operator can combine various different matching conditions of a plurality of strategies for matching use, and when the user meets various conditions, the prize is triggered to be distributed, and different rewards are distributed to the user.
For example, the first awarding policy in which the number of days the user checked in is greater than the first value is "day number of check in" comparison item type "shown in fig. 3, and the first value is 1. The corresponding regular expression is that the number of days that the user checked in N1 is greater than 1.
The second awarding policy in which the number of times of sharing in the month by the user is smaller than the second numerical value is "sharing in the month for the second time" in the "comparison item type" shown in fig. 3, and the second numerical value is 5. The corresponding regular expression is that N2 is less than 5 in the N2 th share of the month.
The third award policy in which the user face value is equal to the third numeric value is "face value" in "comparison item type" shown in fig. 3, and the third numeric value is 100. The corresponding regular expression is the face value N3-100.
In one embodiment, the regular expressions are multiple, and each award dispensing strategy and the strategy value of each award dispensing strategy generate a corresponding regular expression; the verifying whether the historical behavior data and the user account data of the target user meet the regular expression by using an avertor expression evaluation engine, if so, sending award sending data to the target user, and the method comprises the following steps: verifying whether the historical behavior data and the user account data of the target user are each the regular expression or not by using an Aviator expression evaluation engine; and if all the regular expressions are met, sending award sending data to the target user.
In one embodiment, the plurality of award serving strategies include a first award serving strategy in which the number of days that a user signs in is greater than a first value, a second award serving strategy in which the number of times that the user shares the same month is less than a second value, and a third award serving strategy in which a user face value is equal to a third value, and the strategy values include the first value corresponding to the first award serving strategy, the second value corresponding to the second award serving strategy, and the third value corresponding to the third award serving strategy; the strategy values of the lottery distributing strategies and the lottery distributing strategies generate corresponding regular expressions, wherein the regular expressions comprise a first regular expression generated by the first lottery distributing strategy and the first numerical value, a second regular expression generated by the second lottery distributing strategy and the second numerical value, and a third regular expression generated by the third lottery distributing strategy and the third numerical value; the verifying whether the historical behavior data of the target user and the user account data meet the regular expression by using an avertor expression evaluation engine includes: checking whether the number of check-in days in the historical behavior data of the target user is greater than the first numerical value or not by using an Aviator expression evaluation engine, and if so, meeting the first regular expression; verifying whether the number of times of sharing in the historical behavior data of the target user is smaller than the second numerical value or not by using an Aviator expression evaluation engine, and if so, satisfying the second regular expression; verifying whether the face value in the user account data of the target user is equal to the third numerical value or not by using an Aviator expression evaluation engine, and if so, satisfying the third regular expression; if yes, sending award sending data to the target user, wherein the award sending data comprises the following steps: and if the first regular expression, the second regular expression and the third regular expression are simultaneously satisfied, sending award data to the target user.
Specifically, the number of the regular expressions is multiple, and each award dispensing strategy and the strategy value of each award dispensing strategy generate a corresponding regular expression; verifying whether historical behavior data of a target user and user account data are each regular expression or not by using an Aviator expression evaluation engine; and if all the regular expressions are met, sending award sending data to the target user.
For example, as described above with respect to the example of fig. 3. In this embodiment, when the Aviator expression evaluation engine is used to verify the historical behavior data and the user account data of the target user, in the verification process, it is determined that the verification is passed only if three conditions, that the number of sign-in days in the historical behavior data of the target user is greater than a first value, the number of sharing times in the historical behavior data of the target user is less than a second value, and a face value in the user account data of the target user is equal to a third value, are simultaneously satisfied, and then the operation of sending the award data to the target user can be performed.
Therefore, the scheme can greatly reduce special configuration, reduce the complexity of the system and realize various requirements under flexible configuration; the fixed configuration mode greatly reduces the operation cost and the learning cost of operation; a large number of special configurations are reduced, and development investment projects are reduced to modify different configurations and check codes, so that regression testing is not needed to verify the whole project, and a large amount of labor is saved.
For the specific definition of the award dispatching data processing device of the marketing system, reference may be made to the above definition of the award dispatching data processing method of the marketing system, and details thereof are not repeated herein. The modules in the prize sending data processing device of the marketing system can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
The computer-readable storage medium provided by the embodiment of the present invention stores an application program thereon, and the application program, when executed by a processor, implements a prize awarding data processing method of a marketing system according to any one of the above embodiments. The computer-readable storage medium includes, but is not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks, ROMs (Read-Only memories), RAMs (Random AcceSS memories), EPROMs (EraSable Programmable Read-Only memories), EEPROMs (Electrically EraSable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards. That is, a storage device includes any medium that stores or transmits information in a form readable by a device (e.g., a computer, a cellular phone), and may be a read-only memory, a magnetic or optical disk, or the like.
The embodiment of the invention also provides a computer application program which runs on a computer and is used for executing the prize sending data processing method of the marketing system in any one of the embodiments.
Fig. 5 is a schematic structural diagram of a computer device in the embodiment of the present invention.
An embodiment of the present invention further provides a computer device, as shown in fig. 5. The computer apparatus includes a processor 502, a memory 503, an input unit 504, a display unit 505, and the like. Those skilled in the art will appreciate that the device configuration means shown in fig. 5 do not constitute a limitation of all devices and may include more or less components than those shown, or some components in combination. The memory 503 may be used to store the application 501 and various functional modules, and the processor 502 executes the application 501 stored in the memory 503, thereby performing various functional applications of the device and data processing. The memory may be internal or external memory, or include both internal and external memory. The memory may comprise read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), flash memory, or random access memory. The external memory may include a hard disk, a floppy disk, a ZIP disk, a usb-disk, a magnetic tape, etc. The disclosed memory includes, but is not limited to, these types of memory. The disclosed memory is by way of example only and not by way of limitation.
The input unit 504 is used for receiving input of signals and receiving keywords input by a user. The input unit 504 may include a touch panel and other input devices. The touch panel can collect touch operations of a user on or near the touch panel (for example, operations of the user on or near the touch panel by using any suitable object or accessory such as a finger, a stylus and the like) and drive the corresponding connecting device according to a preset program; other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., play control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like. The display unit 505 may be used to display information input by a user or information provided to the user and various menus of the terminal device. The display unit 505 may take the form of a liquid crystal display, an organic light emitting diode, or the like. The processor 502 is a control center of the terminal device, connects various parts of the entire device using various interfaces and lines, and performs various functions and processes data by running or executing software programs and/or modules stored in the memory 503 and calling data stored in the memory.
As one embodiment, the computer device includes: one or more processors 502, a memory 503, one or more applications 501, wherein the one or more applications 501 are stored in the memory 503 and configured to be executed by the one or more processors 502, and wherein the one or more applications 501 are configured to perform a method of payoff data processing for a marketing system in any of the above embodiments.
In addition, the detailed description is given above to the prize awarding data processing method, the prize awarding data processing device, the computer device and the storage medium of the marketing system provided by the embodiment of the present invention, and a specific example should be adopted herein to explain the principle and the implementation manner of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A prize sending data processing method of a marketing system is characterized by comprising the following steps:
acquiring user data of a target user, wherein the user data comprises historical behavior data and user account data of the target user;
reading a regular expression of a marketing campaign, wherein the regular expression is obtained based on a plurality of award dispatching strategies;
verifying whether the historical behavior data and the user account data of the target user meet the regular expression by using an Aviator expression evaluation engine;
and if so, sending award sending data to the target user.
2. The method of claim 1, further comprising:
obtaining a plurality of award dispatching strategies input by an operation configuration page and strategy values of the award dispatching strategies;
and generating the regular expression according to the plurality of prize dispatching strategies and the strategy values of the prize dispatching strategies.
3. The method of claim 2, wherein the plurality of award policies includes a first award policy for which a number of days a user checked-in is greater than a first value, and wherein the policy value includes the first value corresponding to the first award policy;
the verifying whether the historical behavior data of the target user and the user account data meet the regular expression by using an avertor expression evaluation engine includes:
and verifying whether the check-in days in the historical behavior data of the target user are larger than the first numerical value by using an Aviator expression evaluation engine, and if so, satisfying the regular expression.
4. The method according to claim 2, wherein the plurality of award policies include a second award policy that the number of times users share in the month is less than a second value, and the policy value includes the second value corresponding to the second award policy;
the verifying whether the historical behavior data of the target user and the user account data meet the regular expression by using an avertor expression evaluation engine includes:
and verifying whether the sharing times in the historical behavior data of the target user are smaller than the second numerical value or not by using an Aviator expression evaluation engine, and if so, satisfying the regular expression.
5. The method of claim 2, wherein the plurality of award policies includes a third award policy having a user face value equal to a third numeric value, and wherein the policy value includes the third numeric value corresponding to the third award policy;
the verifying whether the historical behavior data of the target user and the user account data meet the regular expression by using an avertor expression evaluation engine includes:
and verifying whether the face value in the user account data of the target user is equal to the third numerical value or not by using an Aviator expression evaluation engine, and if so, satisfying the regular expression.
6. The method according to claim 2, wherein the regular expressions are multiple, and each award dispensing strategy and the strategy value of each award dispensing strategy generate a corresponding regular expression; the verifying whether the historical behavior data and the user account data of the target user meet the regular expression by using an avertor expression evaluation engine, if so, sending award sending data to the target user, and the method comprises the following steps:
verifying whether the historical behavior data and the user account data of the target user are each the regular expression or not by using an Aviator expression evaluation engine;
and if all the regular expressions are met, sending award sending data to the target user.
7. The method according to claim 6, wherein the plurality of award serving strategies include a first award serving strategy in which the number of days that a user signs in is greater than a first value, a second award serving strategy in which the number of times that the user shares in the month is less than a second value, and a third award serving strategy in which a user face value is equal to a third value, and the strategy values include the first value corresponding to the first award serving strategy, the second value corresponding to the second award serving strategy, and the third value corresponding to the third award serving strategy;
the strategy values of the lottery distributing strategies and the lottery distributing strategies generate corresponding regular expressions, wherein the regular expressions comprise a first regular expression generated by the first lottery distributing strategy and the first numerical value, a second regular expression generated by the second lottery distributing strategy and the second numerical value, and a third regular expression generated by the third lottery distributing strategy and the third numerical value;
the verifying whether the historical behavior data of the target user and the user account data meet the regular expression by using an avertor expression evaluation engine includes:
checking whether the number of check-in days in the historical behavior data of the target user is greater than the first numerical value or not by using an Aviator expression evaluation engine, and if so, meeting the first regular expression;
verifying whether the number of times of sharing in the historical behavior data of the target user is smaller than the second numerical value or not by using an Aviator expression evaluation engine, and if so, satisfying the second regular expression;
verifying whether the face value in the user account data of the target user is equal to the third numerical value or not by using an Aviator expression evaluation engine, and if so, satisfying the third regular expression;
if yes, sending award sending data to the target user, wherein the award sending data comprises the following steps:
and if the first regular expression, the second regular expression and the third regular expression are simultaneously satisfied, sending award data to the target user.
8. A prize award data processing apparatus for a marketing system, the apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring user data of a target user, and the user data comprises historical behavior data and user account data of the target user;
the reading module is used for reading a regular expression of the marketing activity, and the regular expression is obtained based on a plurality of award dispatching strategies;
the verification module is used for verifying whether the historical behavior data of the target user and the user account data meet the regular expression or not by utilizing an avertor expression evaluation engine;
and the sending module is used for sending the prize sending data to the target user if the prize sending data is positive.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202111663079.2A 2021-12-31 2021-12-31 Lottery dispatching data processing method and device of marketing system and computer equipment Pending CN114298766A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111663079.2A CN114298766A (en) 2021-12-31 2021-12-31 Lottery dispatching data processing method and device of marketing system and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111663079.2A CN114298766A (en) 2021-12-31 2021-12-31 Lottery dispatching data processing method and device of marketing system and computer equipment

Publications (1)

Publication Number Publication Date
CN114298766A true CN114298766A (en) 2022-04-08

Family

ID=80973377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111663079.2A Pending CN114298766A (en) 2021-12-31 2021-12-31 Lottery dispatching data processing method and device of marketing system and computer equipment

Country Status (1)

Country Link
CN (1) CN114298766A (en)

Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7257833B1 (en) * 2001-01-17 2007-08-14 Ipolicy Networks, Inc. Architecture for an integrated policy enforcement system
US20090281977A1 (en) * 2005-08-23 2009-11-12 Allen Paul L Checking rule and policy representation
US20140122200A1 (en) * 2012-10-31 2014-05-01 Charles S. Granville Marketing promotion generation, management, and distribution
CN104851026A (en) * 2015-05-21 2015-08-19 上海宾谷网络科技有限公司 Big data based bid native advertisement reward system for positioning user in real time, and method
CN109544209A (en) * 2018-10-22 2019-03-29 中国平安人寿保险股份有限公司 Virtual interests bonusing method, device and computer equipment and storage medium
CN110288406A (en) * 2019-06-28 2019-09-27 江苏满运软件科技有限公司 Campaign management platform, executes method, equipment and medium at development approach
WO2019205398A1 (en) * 2018-04-27 2019-10-31 平安科技(深圳)有限公司 Method and device for incentivizing user behavior, computer apparatus, and storage medium
CN111027024A (en) * 2019-12-12 2020-04-17 广州酷狗计算机科技有限公司 Lottery drawing method, device, equipment, storage medium and program product
CN111787094A (en) * 2020-06-29 2020-10-16 腾讯科技(深圳)有限公司 Data processing method, device, storage medium and equipment
CN112258311A (en) * 2020-10-13 2021-01-22 北京神州数字科技有限公司 Configuration method and configuration device for collection-hastening policy rules
CN112559613A (en) * 2020-12-16 2021-03-26 深圳市中农网有限公司 Voucher data extraction method and device, computer equipment and storage medium
CN112667323A (en) * 2020-12-24 2021-04-16 中国平安人寿保险股份有限公司 Application system page processing method and device, computer equipment and storage medium
CN112667684A (en) * 2020-12-25 2021-04-16 沈阳林科信息技术有限公司 Calculation method based on policy engine
CN112882687A (en) * 2020-12-10 2021-06-01 宝付网络科技(上海)有限公司 Method for realizing efficient universal rule engine
CN113112304A (en) * 2021-04-28 2021-07-13 厦门信息集团大数据运营有限公司 Intelligent prize distribution method and system
CN113269635A (en) * 2021-06-24 2021-08-17 京东科技控股股份有限公司 Information processing method and device, readable storage medium and electronic equipment
CN113391800A (en) * 2021-05-19 2021-09-14 广州有信科技有限公司 Configurable commission settlement method, device and computer readable storage medium
CN113485765A (en) * 2021-07-07 2021-10-08 上海顺舟智能科技股份有限公司 Control strategy configuration method, device, equipment and medium for intelligent equipment of Internet of things
CN113627963A (en) * 2020-05-08 2021-11-09 浙江华云信息科技有限公司 Electric power refined operation rule base creation method
CN113641654A (en) * 2021-08-16 2021-11-12 神州数码融信软件有限公司 Marketing handling rule engine method based on real-time event
CN113807975A (en) * 2021-09-16 2021-12-17 平安健康保险股份有限公司 Method and device for checking information, computer equipment and storage medium

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7257833B1 (en) * 2001-01-17 2007-08-14 Ipolicy Networks, Inc. Architecture for an integrated policy enforcement system
US20090281977A1 (en) * 2005-08-23 2009-11-12 Allen Paul L Checking rule and policy representation
US20140122200A1 (en) * 2012-10-31 2014-05-01 Charles S. Granville Marketing promotion generation, management, and distribution
CN104851026A (en) * 2015-05-21 2015-08-19 上海宾谷网络科技有限公司 Big data based bid native advertisement reward system for positioning user in real time, and method
WO2019205398A1 (en) * 2018-04-27 2019-10-31 平安科技(深圳)有限公司 Method and device for incentivizing user behavior, computer apparatus, and storage medium
CN109544209A (en) * 2018-10-22 2019-03-29 中国平安人寿保险股份有限公司 Virtual interests bonusing method, device and computer equipment and storage medium
CN110288406A (en) * 2019-06-28 2019-09-27 江苏满运软件科技有限公司 Campaign management platform, executes method, equipment and medium at development approach
CN111027024A (en) * 2019-12-12 2020-04-17 广州酷狗计算机科技有限公司 Lottery drawing method, device, equipment, storage medium and program product
CN113627963A (en) * 2020-05-08 2021-11-09 浙江华云信息科技有限公司 Electric power refined operation rule base creation method
CN111787094A (en) * 2020-06-29 2020-10-16 腾讯科技(深圳)有限公司 Data processing method, device, storage medium and equipment
CN112258311A (en) * 2020-10-13 2021-01-22 北京神州数字科技有限公司 Configuration method and configuration device for collection-hastening policy rules
CN112882687A (en) * 2020-12-10 2021-06-01 宝付网络科技(上海)有限公司 Method for realizing efficient universal rule engine
CN112559613A (en) * 2020-12-16 2021-03-26 深圳市中农网有限公司 Voucher data extraction method and device, computer equipment and storage medium
CN112667323A (en) * 2020-12-24 2021-04-16 中国平安人寿保险股份有限公司 Application system page processing method and device, computer equipment and storage medium
CN112667684A (en) * 2020-12-25 2021-04-16 沈阳林科信息技术有限公司 Calculation method based on policy engine
CN113112304A (en) * 2021-04-28 2021-07-13 厦门信息集团大数据运营有限公司 Intelligent prize distribution method and system
CN113391800A (en) * 2021-05-19 2021-09-14 广州有信科技有限公司 Configurable commission settlement method, device and computer readable storage medium
CN113269635A (en) * 2021-06-24 2021-08-17 京东科技控股股份有限公司 Information processing method and device, readable storage medium and electronic equipment
CN113485765A (en) * 2021-07-07 2021-10-08 上海顺舟智能科技股份有限公司 Control strategy configuration method, device, equipment and medium for intelligent equipment of Internet of things
CN113641654A (en) * 2021-08-16 2021-11-12 神州数码融信软件有限公司 Marketing handling rule engine method based on real-time event
CN113807975A (en) * 2021-09-16 2021-12-17 平安健康保险股份有限公司 Method and device for checking information, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US10216377B2 (en) Visual regression analysis
AU2017205763A1 (en) System, device and method for releasing vehicle insurance surveying task, and readable storage medium
US20120173962A1 (en) Online application providing apparatus
CN103984626B (en) A kind of method and device for generating test case script
US20100257470A1 (en) Personal project management
CN108492005B (en) Project data processing method and device, computer equipment and storage medium
US11669332B1 (en) Systems and methods for modernizing legacy applications
CN109614312A (en) Method for generating test case, device, electronic equipment and storage medium
US20070083550A1 (en) Data object tracking system and method
CN110457666A (en) A kind of report form generation method, system and electronic equipment and storage medium
CN112433944A (en) Service testing method, device, computer equipment and storage medium
CN112434952A (en) Business data rule judgment method, device, equipment and storage medium
CN112486491A (en) Page generation method and device, computer equipment and storage medium
US20230011807A1 (en) Systems, Methods, User Interfaces, and Development Environments for Generating Instructions in a Computer Language
US7924282B2 (en) Object loading and unloading system
US11604903B2 (en) Layered analytical modeling of telecom tower structure and scenario analysis
CN114298766A (en) Lottery dispatching data processing method and device of marketing system and computer equipment
CN105095072B (en) Application testing method and device and terminal
CN113935847A (en) Online process risk processing method, device, server and medium
CN110262790B (en) Component generation method and device, storage medium and terminal equipment
CN109960767A (en) Page display method, device, computer installation and computer readable storage medium
CN116798588A (en) Information configuration method and device, computer equipment and computer readable storage medium
TWI730384B (en) Image testing method, device, computer device and readbale storage medium
CN116185425B (en) Event flow arrangement method, device, equipment and medium based on node combination
US11321093B1 (en) Multilayered generation and processing of computer instructions

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination