CN113391800B - Configurable commission settlement method, device and computer readable storage medium - Google Patents

Configurable commission settlement method, device and computer readable storage medium Download PDF

Info

Publication number
CN113391800B
CN113391800B CN202110547220.6A CN202110547220A CN113391800B CN 113391800 B CN113391800 B CN 113391800B CN 202110547220 A CN202110547220 A CN 202110547220A CN 113391800 B CN113391800 B CN 113391800B
Authority
CN
China
Prior art keywords
commission
rule
component
reward
user
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.)
Active
Application number
CN202110547220.6A
Other languages
Chinese (zh)
Other versions
CN113391800A (en
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 Youxin Technology Co ltd
Original Assignee
Guangzhou Youxin 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 Youxin Technology Co ltd filed Critical Guangzhou Youxin Technology Co ltd
Priority to CN202110547220.6A priority Critical patent/CN113391800B/en
Publication of CN113391800A publication Critical patent/CN113391800A/en
Application granted granted Critical
Publication of CN113391800B publication Critical patent/CN113391800B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/427Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates

Abstract

The invention discloses a configurable commission settlement method, a configurable commission settlement device and a computer readable storage medium, wherein the method comprises the following steps: responding to the selected operation executed by the user in the selected area of the commission rule component, generating a commission rule component selecting instruction and acquiring the selected commission rule component according to the commission rule component selecting instruction; wherein, each commission sharing rule component corresponds to a commission sharing rule expression; analyzing the commission rule expression, and extracting data objects contained in the commission rule expression and the operational logic of the data objects according to the commission rule expression; and acquiring operation data from a preset database according to the data object, and performing commission settlement according to the operation logic and the operation data. The development efficiency can be improved by implementing the invention.

Description

Configurable commission settlement method, device and computer readable storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a configurable commission settlement method, a configurable commission settlement device and a computer-readable storage medium.
Background
The commission mode is an important ring in the digital operation of enterprises. The commission mode refers to that the enterprise promotes better sales of its own products through a reward mechanism for the user. Different enterprises have different commission modes, different commission rules (reward trigger rules, reward user acquisition rules, reward calculation rules and reward posting rules) of different commission modes are different, and when the development of the commission modes of different enterprises is faced, technicians need to perform code programming again according to the commission rules corresponding to the commission modes of different enterprises, so that the development efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a configurable commission settlement method, a configurable commission settlement device and a computer-readable storage medium, which can enable a user to dynamically configure commission rules according to different commission mode requirements, reduce the code writing amount of developers and improve the development efficiency.
An embodiment of the invention provides a configurable commission settlement method, which comprises the following steps:
responding to the selected operation executed by the user in the selected area of the commission rule component, generating a commission rule component selection instruction and acquiring the selected commission rule component according to the commission rule component selection instruction; wherein, each commission sharing rule component corresponds to a commission sharing rule expression;
analyzing the commission rule expression, and extracting data objects contained in the commission rule expression and the operational logic of the data objects according to the commission rule expression;
and acquiring operation data from a preset database according to the data object, and performing commission settlement according to the operation logic and the operation data.
Further, the commission rule component comprises: the reward triggering rule component, the user obtaining rule component, the reward amount calculation rule component and the reward posting rule component; the commission rules component selected area comprises: a reward trigger rules component selection area, a user acquisition rules component selection area, a reward amount calculation rules component selection area, and a reward posting rules component selection area.
Further, the generating a commission rule component selection instruction in response to the operation selected by the user in the commission rule component selection area, and acquiring the selected commission rule component according to the commission rule component selection instruction specifically includes:
responding to the operation of the selected reward trigger rule component executed by the user in the selected area of the reward trigger rule component, generating a reward trigger rule component acquisition instruction, and acquiring the selected reward trigger rule component according to the reward trigger rule component instruction;
responding to the operation of the user-selected rule acquisition component executed by the user in the user-selected area of the rule acquisition component, generating a user-selected rule acquisition component acquisition instruction, and acquiring the selected user-selected rule acquisition component according to the user-selected rule acquisition component instruction;
responding to the operation of the selected reward amount calculation rule component executed by the user in the selected area of the reward amount calculation rule component, generating a reward amount calculation rule component acquisition instruction, and acquiring the selected reward amount calculation rule component according to the reward amount calculation rule component instruction; and the number of the first and second groups,
and responding to the selected reward posting rule component operation executed by the user in the selected area of the reward posting rule component, generating a reward posting rule component acquisition instruction, and acquiring the selected reward posting rule component according to the reward posting rule component instruction.
Further, the analyzing the commission rule expression, and extracting the data object and the operation logic of the data object included in the commission rule expression according to the commission rule expression specifically include:
analyzing the reward trigger rule expression corresponding to the selected reward trigger rule component, and extracting a first data object and a first operation logic related to the reward trigger rule expression; the first data object is a data object related to judging whether a reward mechanism is triggered or not, and the first arithmetic logic is arithmetic logic which is required to be met by a data value corresponding to the first data object when the reward mechanism is successfully triggered;
analyzing the user acquisition rule expression corresponding to the selected user acquisition rule component, and extracting a second data object and a second operation logic related to the user acquisition rule expression; the second data object is a data object related to judging whether the user is a winning user, and the second arithmetic logic is arithmetic logic which is required to be satisfied by a data value corresponding to the second data object when the user is judged as the winning user;
analyzing the amount calculation rule expression corresponding to the selected reward amount calculation rule component, and extracting a third data object and a third operational logic related to the amount calculation rule expression; the third data object is a data object involved in calculating the reward amount of the rewarding user, and the third arithmetic logic is arithmetic logic for calculating the reward amount according to the data value corresponding to the third data object; and the number of the first and second groups,
analyzing the posting rule expression corresponding to the selected reward posting rule component, and extracting a fourth data object and a fourth operation logic related to the posting rule expression; the fourth data object is a data object related to allocation of a reward amount to a user obtaining a reward, and the fourth arithmetic logic is arithmetic logic which is required to be satisfied by a data value corresponding to the fourth data object when the reward amount is successfully allocated to the user obtaining the reward.
Further, operation data is acquired from a preset database according to the data object, and then commission settlement is performed according to the operation logic and the operation data, specifically including:
a, acquiring first operation data from the preset database according to the first data object, and then judging whether the first operation data meets a first operation logic; if yes, executing the step B, otherwise, ending the commission settlement;
b, acquiring second operation data from the preset database according to the second data object, then judging whether the second operation data meet second operation logic, if so, judging that the user is a prize winning user, and executing the step C; if not, ending the commission settlement;
step C, acquiring third operational data from the preset database according to the third data object and calculating the prize winning amount according to the third operational data and the third operational logic;
and D, acquiring fourth operation data from the preset database according to the fourth data object, then judging whether the fourth operation data meet fourth operation logic, and if so, distributing the prize winning amount to the prize winning user according to the fourth operation data.
On the basis of the above method item embodiments, the present invention correspondingly provides apparatus item embodiments;
an embodiment of the present invention provides a configurable commission settlement apparatus, including: the system comprises a configuration operation interface generation module, a commission rule component configuration module, a commission rule component analysis module and a commission settlement module;
the configuration operation interface generation module is used for generating a visual configuration operation interface; wherein the visual configuration operator interface includes a commission rules component selection area;
the commission rule component configuration module is used for responding to the selected operation executed by the user in the commission rule component selected area, generating a commission rule component selection instruction and acquiring the selected commission rule component according to the commission rule component selection instruction; wherein, each commission sharing rule component corresponds to a commission sharing rule expression;
the commission rule component analysis module is used for analyzing the commission rule expression and extracting data objects contained in the commission rule expression and the operational logic of the data objects according to the commission rule expression;
the commission settlement module is used for acquiring operation data from a preset database according to the data object and then carrying out commission settlement according to the operation logic and the operation data.
On the basis of the above method item embodiment, the present invention correspondingly provides a computer storage medium item embodiment;
an embodiment of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program runs, the computer-readable storage medium controls a device to execute any one of the configurable commission settlement methods described in the present invention.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a configurable commission division settlement method, a device and a computer readable storage medium, wherein the method responds to the selected operation of a user to select a selected commission rule component in a commission division rule component selected area, then analyzes a commission division rule expression corresponding to the selected commission division rule component, acquires a data object contained in the commission division rule expression and the operation logic of the data object, acquires operation data from a preset database according to the data object, and finally performs automatic commission division settlement according to the operation data and the operation logic. Compared with the prior art, the user can configure the required commission rule components from the commission rule component selection area according to the commission pattern requirements required to be constructed, quickly construct the commission settlement system, only the commission rule components need to be reselected when the commission pattern changes, a new commission pattern can be reconstructed, programming is not required to be performed from beginning to end according to the new commission pattern, and therefore the code programming amount is reduced, and the development efficiency is improved.
Drawings
Fig. 1 is a schematic flow chart of a configurable commission settlement method according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a visualization configuration operation interface according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a configurable commission settlement device according to an 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.
As shown in fig. 1, an embodiment of the present invention provides a configurable commission settlement method, which at least includes the following steps:
step S101, responding to the selected operation executed by the user in the selected area of the commission rule component, generating a commission rule component selection instruction and acquiring the selected commission rule component according to the commission rule component selection instruction; wherein each commission rule component corresponds to a commission rule expression.
Step S102: and analyzing the commission regular expression, and extracting the data object contained in the commission regular expression and the operational logic of the data object according to the commission regular expression.
Step S103: and acquiring operation data from a preset database according to the data object, and performing commission settlement according to the operation logic and the operation data.
For step S101, in a preferred embodiment, the commission rules component comprises: the reward triggering rule component, the user obtaining rule component, the reward amount calculation rule component and the reward posting rule component; the commission rules component selected area comprises: a reward trigger rules component selection area, a user acquisition rules component selection area, a reward amount calculation rules component selection area, and a reward posting rules component selection area.
The responding to the operation selected by the user in the selected area of the commission rule component, generating a commission rule component selection instruction and acquiring the selected commission rule component according to the commission rule component selection instruction, specifically comprises:
responding to the operation of the selected reward trigger rule component executed by the user in the selected area of the reward trigger rule component, generating a reward trigger rule component acquisition instruction, and acquiring the selected reward trigger rule component according to the reward trigger rule component instruction;
responding to the operation of the user-selected rule acquisition component executed by the user in the user-selected area of the rule acquisition component, generating a user-selected rule acquisition component acquisition instruction, and acquiring the selected user-selected rule acquisition component according to the user-selected rule acquisition component instruction;
responding to the operation of the selected reward amount calculation rule component executed by the user in the selected area of the reward amount calculation rule component, generating a reward amount calculation rule component acquisition instruction, and acquiring the selected reward amount calculation rule component according to the reward amount calculation rule component instruction; and the number of the first and second groups,
and responding to the selected reward posting rule component operation executed by the user in the selected area of the reward posting rule component, generating a reward posting rule component acquisition instruction, and acquiring the selected reward posting rule component according to the reward posting rule component instruction.
Specifically, as shown in fig. 2, the present invention provides a visual configuration operation interface, wherein the operation interface is provided with a selected area of a commission rule component; because in practical situations, the commission flow generally comprises: 4 steps of reward triggering, user obtaining, reward amount calculation and reward posting are carried out, so that the invention can be configured according to the four steps, and the commission rule components are divided into: the reward triggering rule component, the user obtaining rule component, the reward amount calculation rule component and the reward posting rule component; correspondingly, the selected area of the commission rule component is divided into: reward trigger rules component selected area 1, user acquisition rules component selected area 2, reward amount calculation rules component selected area 3 and reward posting rules component selected area 4. Each component selection area is provided with a plurality of corresponding rule components for selection by a user. Illustratively, the user completes the component selection operation by clicking the corresponding component in each component selection area through the illustrated drop-down box. It will be appreciated that a user may select multiple components of the same type simultaneously to satisfy multiple rule settings, e.g., a user may select multiple reward trigger rule components simultaneously to configure a set of reward trigger rules, multiple user acquisition rules simultaneously to configure a set of user acquisition rules, and so on, to accommodate complex commission sharing patterns.
In addition, each component corresponds to a Spring expression constructed based on Spring expression language, the Spring supports syntax of Boolean and relational operators, and different operation logics can be dynamically configured; according to the above division, the commission division rule expression of the invention comprises: rewarding trigger rule expression, user obtaining rule expression and amount calculation rule expression posting rule expression.
The reward trigger rule expression is mainly used for setting reward trigger conditions of the commission mode, and the reward trigger time is very many and comprises user ordering, user recharging, user upgrading, certain timed trigger rewards and the like. The present invention designs the trigger condition as a message body (i.e., the above-mentioned reward trigger rule expression language) in which the value contained is variable. The type of the message body triggering the reward can be configured, and variables in the message body can be dynamically accessed through an expression, so that the operation logic triggering the reward is flexibly configured.
The reward triggering rule expression mainly comprises: a first data processing object and a first arithmetic logic; the first data object is a data object related to judging whether the reward mechanism is triggered, and the first arithmetic logic is arithmetic logic which is required to be satisfied by a data value corresponding to the first data object when the reward mechanism is successfully triggered. For example, if an incentive mechanism is designed to be triggered when the order amount is greater than 100, the incentive triggering rule expression may be set as: "# msgBody [ money ] > 100". "money" in the above expression is the order amount, that is, the first data object, which is a variable; "money > 100"; that is, the first operation logic indicates that the data value of the data object needs to be greater than 100, and the conversion into the actual scene is: the amount of the placed order is more than 100. The first data object may be: order data, user level, etc.;
the user acquisition rule expression is mainly used for setting a selected rule of a winning user (a commission user); the configurable user acquisition is realized, the user acquisition rule expression is consistent with the reward trigger rule expression and is also constructed through the SpEL expression, and a user acquisition rule expression comprises a second data object and a second operation logic; the second data object is a data object related to judging whether the user is a prize-winning user, and the second arithmetic logic is arithmetic logic which is required to be satisfied by a data value corresponding to the second data object when the user is judged as the prize-winning user; for example, after the reward mechanism is triggered, taking users with the user level of more than 10 as commission users; at this time, the rule expression obtained by the user is set as: "# msgBody [ user _ grade ] > 10"; in the above expression, "user grade" is a user grade, that is, the second data object, and is a variable; "user _ grade > 10"; that is, the second operation logic indicates that the data value of the data object needs to be greater than 10, and the conversion into the actual scene is: the user rating is greater than 10. The second data object may be: a lower order quantity, a hierarchy on a user chain (a user relationship chain configured by an invitation relationship of a user or an upper-level relationship, or the like), and the like;
the reward amount calculation rule expression is mainly used for setting a calculation rule of specific reward amount; configurable rules for calculating the amount of the prize are implemented. The money calculation rule expression comprises a third data object and a third operation logic; the third data object is a data object involved in calculating the award amount of the user obtaining the award, and the third arithmetic logic is arithmetic logic for calculating the award amount according to the data value corresponding to the third data object. For example, if an award amount calculation rule is set to 10% of the following amount of money, the award amount calculation expression may be: reward _ account ═ msgBody [ Order _ account ]. 10%; in the formula, "Order _ amount" is the next amount, i.e., the third data object, and "Order _ amount × 10%" is the third operation logic. Preferably, the third data object may be a user level or the like
The posting rule expression is mainly used for setting a specific posting rule and realizing the configurability of the posting rule. The posting rule expression comprises a fourth data object and a fourth operation logic; the fourth data object is a data object related to the allocation of the reward amount to the user obtaining the reward, and the fourth arithmetic logic is arithmetic logic which is required to be met by a data value corresponding to the fourth data object when the reward amount is successfully allocated to the user obtaining the reward. For example, a reward posting rule is set as: the account number type of the posting is A; the corresponding posting rule expression may be: # msgBody [ en _ account _ type ] ═ a; in the equation, "en _ account _ type" is the fourth data object that is the account type to be credited, and "en _ account _ type ═ a" is the fourth arithmetic logic. The preferred fourth data object may be: time of entry, account number of exit, etc
In a preferred embodiment, as for step S102, the parsing the commission rule expression, and extracting the data object and the operation logic of the data object included in the commission rule expression according to the commission rule expression specifically include:
analyzing the reward trigger rule expression corresponding to the selected reward trigger rule component, and extracting a first data object and a first operation logic related to the reward trigger rule expression; analyzing the user acquisition rule expression corresponding to the selected user acquisition rule component, and extracting a second data object and a second operation logic related to the user acquisition rule expression: analyzing the amount calculation rule expression corresponding to the selected reward amount calculation rule component, and extracting a third data object and a third operational logic related to the amount calculation rule expression; and analyzing the posting rule expression corresponding to the selected reward posting rule component, and extracting a fourth data object and a fourth operation logic related in the posting rule expression.
Illustratively, after the selection of the components is completed, a user may click on the "compiling" component through the operation interface shown in fig. 2, and then trigger step S102, and in step S102, the corresponding data object and the operation logic are obtained by analyzing the expression corresponding to each rule component selected by the user, where the data object and the operation logic of the specific class component are already described in the foregoing, and are not described again here.
In step S103, in a preferred embodiment, acquiring operation data from a preset database according to the data object, and then performing commission settlement according to the operation logic and the operation data, specifically including:
a, acquiring first operation data from the preset database according to the first data object, and then judging whether the first operation data meets a first operation logic; if yes, executing the step B, otherwise, ending the commission settlement;
b, acquiring second operation data from the preset database according to the second data object, then judging whether the second operation data meet second operation logic, if so, judging that the user is a prize winning user, and executing the step C; if not, ending the commission settlement;
step C, acquiring third operational data from the preset database according to the third data object and calculating the prize winning amount according to the third operational data and the third operational logic;
and D, acquiring fourth operation data from the preset database according to the fourth data object, then judging whether the fourth operation data meet fourth operation logic, if so, distributing the prize winning amount to the prize winning user according to the fourth operation data, and otherwise, carrying out account posting failure prompt.
Specifically, when the triggering condition corresponding to the reward triggering component is met, commission settlement is started, then the user meeting the condition is judged according to the user obtaining rule component to be used as a user obtaining the reward, the reward amount obtained by the user obtaining the reward is calculated according to the reward amount calculation rule component, and finally when the condition corresponding to the reward posting rule component is met, the reward amount is distributed to the user according to the posting account number, the posting time and other attribute information set in the posting rule component, and commission settlement is completed.
By implementing the embodiment of the invention, a user can configure the required commission rule components from the commission rule component selection area according to the commission pattern requirements required to be constructed, quickly construct the commission system, and only need to reselect the commission rule components to reconstruct a new commission pattern when the commission pattern is changed, without programming from beginning to end according to the new commission pattern, thereby reducing the code programming amount and improving the development efficiency.
On the basis of the above method item embodiments, the present invention correspondingly provides apparatus item embodiments;
as shown in fig. 3, an embodiment of the present invention provides a configurable commission settlement apparatus, including: the system comprises a configuration operation interface generation module, a commission rule component configuration module, a commission rule component analysis module and a commission settlement module;
the configuration operation interface generation module is used for generating a visual configuration operation interface; wherein the visual configuration operator interface includes a commission rules component selection area;
the commission rule component configuration module is used for responding to the selected operation executed by the user in the commission rule component selected area, generating a commission rule component selection instruction and acquiring the selected commission rule component according to the commission rule component selection instruction; wherein, each commission sharing rule component corresponds to a commission sharing rule expression;
the commission rule component analysis module is used for analyzing the commission rule expression and extracting data objects contained in the commission rule expression and the operational logic of the data objects according to the commission rule expression;
the commission settlement module is used for acquiring operation data from a preset database according to the data object and then carrying out commission settlement according to the operation logic and the operation data.
It should be noted that the above-described embodiments of the apparatus correspond to the embodiments of the method of the present invention, and can implement the configurable commission settlement method according to any one of the above-described embodiments of the method of the present invention. In addition, the above-described apparatuses of the present invention are only schematic, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
On the basis of the above method item embodiment, the invention correspondingly provides a computer storage medium item embodiment.
An embodiment of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program runs, the computer-readable storage medium is controlled to execute a configurable commission settlement method according to any one of the above embodiments.
Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (7)

1. A configurable commission settlement method, comprising:
responding to the selected operation executed by the user in the selected area of the commission rule component, generating a commission rule component selection instruction and acquiring the selected commission rule component according to the commission rule component selection instruction; wherein, each commission sharing rule component corresponds to a commission sharing rule expression; wherein the commission rule component is a visualization component;
analyzing the commission rule expression, and extracting data objects contained in the commission rule expression and the operational logic of the data objects according to the commission rule expression;
and acquiring operation data from a preset database according to the data object, and performing commission settlement according to the operation logic and the operation data.
2. The configurable commission settlement method of claim 1 wherein the commission rule component comprises: the reward triggering rule component, the user obtaining rule component, the reward amount calculation rule component and the reward posting rule component; the commission rules component selected area comprises: a reward trigger rules component selection area, a user acquisition rules component selection area, a reward amount calculation rules component selection area, and a reward posting rules component selection area.
3. The configurable commissioned settlement method of claim 2, wherein the step of generating a commissioned rule component selection instruction in response to a user selection operation in the commissioned rule component selection area and obtaining a selected commissioned rule component according to the commissioned rule component selection instruction comprises:
responding to the operation of the selected reward trigger rule component executed by the user in the selected area of the reward trigger rule component, generating a reward trigger rule component acquisition instruction, and acquiring the selected reward trigger rule component according to the reward trigger rule component instruction;
responding to the operation of the user-selected rule acquisition component executed by the user in the user-selected area of the rule acquisition component, generating a user-selected rule acquisition component acquisition instruction, and acquiring the selected user-selected rule acquisition component according to the user-selected rule acquisition component instruction;
responding to the operation of the selected reward amount calculation rule component executed by the user in the selected area of the reward amount calculation rule component, generating a reward amount calculation rule component acquisition instruction, and acquiring the selected reward amount calculation rule component according to the reward amount calculation rule component instruction; and the number of the first and second groups,
and responding to the selected reward posting rule component operation executed by the user in the reward posting rule component selected area, generating a reward posting rule component acquisition instruction and acquiring the selected reward posting rule component according to the reward posting rule component instruction.
4. The configurable commissioned settlement method of claim 3, wherein the parsing of the commissioned regular expression and the extracting of data objects and operational logic of the data objects contained in the commissioned regular expression according to the commissioned regular expression specifically comprises:
analyzing the reward trigger rule expression corresponding to the selected reward trigger rule component, and extracting a first data object and a first operation logic related to the reward trigger rule expression; the first data object is a data object related to judging whether a reward mechanism is triggered or not, and the first arithmetic logic is arithmetic logic which is required to be met by a data value corresponding to the first data object when the reward mechanism is successfully triggered;
analyzing the user acquisition rule expression corresponding to the selected user acquisition rule component, and extracting a second data object and a second operation logic related to the user acquisition rule expression; the second data object is a data object related to judging whether the user is a winning user, and the second arithmetic logic is arithmetic logic which is required to be satisfied by a data value corresponding to the second data object when the user is judged as the winning user;
analyzing the amount calculation rule expression corresponding to the selected reward amount calculation rule component, and extracting a third data object and a third operational logic related to the amount calculation rule expression; the third data object is a data object involved in calculating the reward amount of the rewarding user, and the third arithmetic logic is arithmetic logic for calculating the reward amount according to the data value corresponding to the third data object; and the number of the first and second groups,
analyzing the posting rule expression corresponding to the selected reward posting rule component, and extracting a fourth data object and a fourth operation logic related to the posting rule expression; the fourth data object is a data object related to allocation of a reward amount to a user obtaining a reward, and the fourth arithmetic logic is arithmetic logic which is required to be satisfied by a data value corresponding to the fourth data object when the reward amount is successfully allocated to the user obtaining the reward.
5. The configurable commissioned settlement method of claim 4, wherein the steps of obtaining operation data from a preset database according to the data object and conducting commissioned settlement according to the operation logic and the operation data comprise:
a, acquiring first operation data from the preset database according to the first data object, and then judging whether the first operation data meets a first operation logic; if yes, executing the step B, otherwise, ending the commission settlement;
b, acquiring second operation data from the preset database according to the second data object, then judging whether the second operation data meet second operation logic, if so, judging that the user is a prize winning user, and executing the step C; if not, ending the commission settlement;
step C, acquiring third operational data from the preset database according to the third data object and calculating the prize winning amount according to the third operational data and the third operational logic;
and D, acquiring fourth operation data from the preset database according to the fourth data object, then judging whether the fourth operation data meet fourth operation logic, and if so, distributing the prize winning amount to the prize winning user according to the fourth operation data.
6. A configurable commission settlement device, comprising: the system comprises a configuration operation interface generation module, a commission rule component configuration module, a commission rule component analysis module and a commission settlement module;
the configuration operation interface generation module is used for generating a visual configuration operation interface; wherein the visual configuration operator interface includes a commission rules component selection area;
the commission rule component configuration module is used for responding to the selected operation executed by the user in the commission rule component selected area, generating a commission rule component selection instruction and acquiring the selected commission rule component according to the commission rule component selection instruction; wherein, each commission sharing rule component corresponds to a commission sharing rule expression; wherein the commission rule component is a visualization component; the commission rule component analysis module is used for analyzing the commission rule expression and extracting data objects contained in the commission rule expression and the operational logic of the data objects according to the commission rule expression;
the commission settlement module is used for acquiring operation data from a preset database according to the data object and then carrying out commission settlement according to the operation logic and the operation data.
7. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus on which the computer-readable storage medium resides to perform the configurable commission settlement method of any one of claims 1-5.
CN202110547220.6A 2021-05-19 2021-05-19 Configurable commission settlement method, device and computer readable storage medium Active CN113391800B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110547220.6A CN113391800B (en) 2021-05-19 2021-05-19 Configurable commission settlement method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110547220.6A CN113391800B (en) 2021-05-19 2021-05-19 Configurable commission settlement method, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113391800A CN113391800A (en) 2021-09-14
CN113391800B true CN113391800B (en) 2022-03-15

Family

ID=77618142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110547220.6A Active CN113391800B (en) 2021-05-19 2021-05-19 Configurable commission settlement method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113391800B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104715408A (en) * 2015-03-19 2015-06-17 烟台海颐软件股份有限公司 Power trade visualization implementation method based on settlement unit
CN105849721A (en) * 2013-06-21 2016-08-10 微软技术许可有限责任公司 Embedded experience through bidirectional integration of CRM applications and spreadsheet applications
CN110135798A (en) * 2019-04-15 2019-08-16 平安普惠企业管理有限公司 Commission calculation method, platform, computer equipment and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11138533B2 (en) * 2014-07-11 2021-10-05 Beauty Systems Group Llc Method, apparatus, and computer readable medium for allocating sales commissions

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105849721A (en) * 2013-06-21 2016-08-10 微软技术许可有限责任公司 Embedded experience through bidirectional integration of CRM applications and spreadsheet applications
CN104715408A (en) * 2015-03-19 2015-06-17 烟台海颐软件股份有限公司 Power trade visualization implementation method based on settlement unit
CN110135798A (en) * 2019-04-15 2019-08-16 平安普惠企业管理有限公司 Commission calculation method, platform, computer equipment and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"电信合作分成佣金结算系统设计实现";肖慧飞;《万方学术期刊数据库》;20181115;正文第82页 *

Also Published As

Publication number Publication date
CN113391800A (en) 2021-09-14

Similar Documents

Publication Publication Date Title
KR102323378B1 (en) Data processing methods and related products
CN107705151B (en) Advertisement putting regulation and control display method and device
US9411581B2 (en) Code migration systems and methods
CN108170655A (en) Production method, device, terminal device and the storage medium of Visual Report Forms
CN102231162A (en) Dynamic rule engine configuration method based on service processing
CN105339893A (en) Apps store with integrated test support
CN114154641A (en) AI model training method and device, computing equipment and storage medium
CN111881042A (en) Automatic test script generation method and device and electronic equipment
CN103714509A (en) Method and system for carrying out data interaction between client and server
CN115358204A (en) Report generation method and device, electronic equipment and storage medium
CN110472298B (en) Method, device, equipment and storage medium for constructing electric power market model
CN113391800B (en) Configurable commission settlement method, device and computer readable storage medium
Ciavotta et al. Architectural design of cloud applications: A performance-aware cost minimization approach
CN104156442A (en) Method and system for multi-dimension accumulation on basis of dynamic data and static data and accumulated data application method
Pederiva et al. The beautification process in model-driven engineering of user interfaces
CN111191180A (en) Method and device for constructing micro-service system in invoice field and storage medium
CN112380237B (en) Method, device, terminal and storage medium for predicting database hidden danger SQL
CN110019177A (en) The method and apparatus of rule storage
CN112650486A (en) Data visualization processing method and device
CN114004505A (en) BPM platform and method for recommending business process based on BPM platform
CN112732242A (en) Wide table processing script generation method and device
US20080195453A1 (en) Organisational Representational System
CN108268649A (en) A kind of expanding unit of system language, method and terminal device
CN112698835B (en) Singlechip compiling and linking method and device, computer equipment and storage medium
CN112598297A (en) Task configuration method for operation activities and related device

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
GR01 Patent grant
GR01 Patent grant