CN111242673A - Intelligent commission calculation method based on building element matching - Google Patents
Intelligent commission calculation method based on building element matching Download PDFInfo
- Publication number
- CN111242673A CN111242673A CN201911400749.4A CN201911400749A CN111242673A CN 111242673 A CN111242673 A CN 111242673A CN 201911400749 A CN201911400749 A CN 201911400749A CN 111242673 A CN111242673 A CN 111242673A
- Authority
- CN
- China
- Prior art keywords
- influence
- commission calculation
- commission
- elements
- matching
- 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.)
- Granted
Links
- 238000004364 calculation method Methods 0.000 title claims abstract description 87
- 238000004458 analytical method Methods 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000013499 data model Methods 0.000 claims description 3
- 238000012216 screening Methods 0.000 claims description 3
- 238000013500 data storage Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0283—Price estimation or determination
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2228—Indexing structures
- G06F16/2246—Trees, e.g. B+trees
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/16—Real estate
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Tourism & Hospitality (AREA)
- Marketing (AREA)
- General Business, Economics & Management (AREA)
- Finance (AREA)
- Economics (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Primary Health Care (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- Game Theory and Decision Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses an intelligent commission calculation method based on building element matching, relates to the technical field of commission calculation, and is used for solving the problem that commission calculation modes are different and cannot be adapted along with the continuous change of influencing elements at present. The efficiency of commission calculation is improved by collecting the information elements of the building, changing the data storage structure and optimizing the matching rule algorithm. The ability of the commission calculation model to deal with changes in commission calculation modes caused by changes in the influence elements can be improved. The intelligent commission calculation method based on the building element matching can maintain the influence elements, commission calculation rules and influence element combinations in a configuration mode, is flexibly controlled by managers, and reduces the cost of manual commission calculation and check.
Description
Technical Field
The invention relates to the technical field of commission calculation, in particular to an intelligent commission calculation method based on building element matching.
Background
Due to the fact that the variability of the commission calculation elements is influenced, the commission calculation often has the problem that the formula cannot be adapted, manual intervention is often needed, and the commission amount is calculated manually. Moreover, because the calculation rules of various service scenes are different, not every service person can accurately know the calculation rules of various scenes. The risk of commission calculation errors increases with personnel changes. To reduce the frequency of human intervention, it is highly desirable to provide a complete set of highly flexible, configurable commission calculation models.
Disclosure of Invention
The invention aims to solve the technical problem of providing an intelligent commission calculation method based on building element matching, which can overcome the risk of commission calculation manual intervention and the problem that a calculation model cannot be adapted due to the fact that a commission calculation formula is changed continuously.
The invention adopts the following technical scheme to solve the technical problems
An intelligent commission calculation method based on building element matching specifically comprises the following steps:
s1, combing a service scene of commission calculation, and sorting out influence elements of commission calculation including house area, collection amount, city and floor through analysis of service requirements and the service scene; calculating rules according to commission corresponding to different influence elements;
s2, defining an influence element data model, and combining the influence elements arranged in the step S1 to generate a unique determined influence element group, wherein each influence element group corresponds to a fixed commission calculation rule;
s3, detecting that the user request information contains order information and floor information, and matching a specific influence element group and a commission calculation rule corresponding to the specific influence element group according to the value of each influence element of the request information;
and S4, calculating a specific commission amount according to a collection amount threshold value of commission generated in the matched commission calculation rule and the percentage or fixed amount of the collection amount after the threshold value is reached.
As a further preferable embodiment of the intelligent commission calculation method based on the building element matching according to the present invention, in step S1, the commission percentage is different according to the difference in the area of the house and the amount of money to be collected according to the commission calculation rule corresponding to the difference in the influence element.
As a further preferable embodiment of the intelligent commission calculation method based on floor element matching according to the present invention, the step S2 specifically includes the following sub-steps:
s21, storing the commission calculation influence elements sorted out in the step S1 in an influence element table, wherein the influence elements are divided into 2 types of fixed values and range values;
s22, configuring combination relations among the single influence elements, wherein each combination relation corresponds to a determined commission calculation formula.
As a further preferable embodiment of the intelligent commission calculation method based on floor element matching according to the present invention, the step S3 specifically includes the following sub-steps:
s31, screening all fixed value influence elements, distributing data sections of binary digits where the fixed value influence elements are located from left to right on a 64-bit binary number of the Long type according to actual conditions, and defining each influence element L1(K1), L2(K2) and L3(K3) … … Ln (kn), wherein L is the influence element, and K is the data bit in the binary number where the influence element is located;
s32, unique comparison identification keys formed by all the fixed value-taking elements are specifically calculated as follows:
key= VL1<<(64-K1) | VL2<<(64-K1-K2) | VL<<(64-K1-K2-K3) | VL<<(64-K1-K2…-Kn) Wherein V isLBinary data bits, L, representing the conversion of values of influencing elements into specified data segmentsnA binary data bit of (kn) is VLn;
S33, taking keys generated by fixed value-taking elements as root nodes, taking the residual range influence element types as a layer as child nodes respectively, constructing a tree structure, and taking the range of the influence elements as the left value and the right value of the nodes; different data ranges of the same influence element are used as different child nodes to be positioned in the same straight line branch, so that a tree structure is limited, all leaf nodes are positioned in the same layer, and a commission calculation method matched with the paths from the root node to the current leaf nodes is represented; the influence element nodes of each node are arranged from small to large in sequence, and value ranges are divided;
s34, tree-shaped influence elements are subjected to traversal matching: and according to the request information of commission calculation, calculating according to the formula of the step S32, producing a corresponding key by the combination of the fixed influence elements, traversing the whole tree by the matching root node, and finding out the final commission calculation formula.
As a further preferable embodiment of the intelligent commission calculation method based on building element matching according to the present invention, in step S4, calculation is performed by using a drools rule framework according to a commission calculation formula, commission calculation is performed by using a drools rule engine, and free collocation of the commission calculation formula is realized by using a rule file of droos.
Compared with the prior art, the invention adopting the technical scheme has the following technical effects:
1. according to the intelligent commission calculation method, the influence elements can be configured through the background, and the combination of all the influence elements is also subjected to background operation through business personnel;
2. flexible switching among different calculation formulas can be realized, and the expansibility of a calculation engine is realized;
3. the method can be well adapted to the change of the calculation mode caused by the influence of external factors and can be dynamically adjusted.
Drawings
FIG. 1 is a schematic diagram of a binary data bit for a fixed influencing element to compute a unique identifier;
FIG. 2 is a schematic diagram of a tree structure in which whole influencing elements are combined;
FIG. 3 impact element matching flow diagram;
fig. 4 is a flow chart of an intelligent commission calculation method based on building element matching according to the 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 invention provides an intelligent commission calculation method based on a building element, as shown in 4, comprising the following steps:
s1, combing the service scene of commission calculation, and sorting out reasonable influence elements and commission calculation formulas through analysis of service requirements and scenes.
And S2, defining an influence element data model, wherein the influence element is an influence factor for determining commission calculation trend. The impact elements are combined to generate uniquely defined groups of impact elements, each group corresponding to a fixed commission calculation rule.
Step S2 specifically includes the following substeps:
s21, the sorted commission calculation influence elements are stored in an influence element table, and the influence elements are divided into 2 types of fixed values and range values, such as: the city is a fixed value, and the house area is a range value.
And (3) influence element management: table 1 is an influence element management table, specifically as follows:
TABLE 1
Influencing element names | Element coding | Form of value | Binary digit (from left to right) |
Project building id | A01 | Fixing | 8 |
Building partition id | A02 | Fixing | 10 |
Building number | A03 | Fixing | 12 |
Broker group id | A04 | Fixing | 2 |
Broker id | A05 | Fixing | 8 |
Area of house | A06 | Range of | 10 |
Amount of money collected | A07 | Range of | 19 |
S22, configuring combination relations among the single influence elements, wherein each combination relation corresponds to a determined commission calculation formula.
And (3) influence element combination management: table 2 is a table of combinations of influencing factors, specifically:
TABLE 2
Influencing element names | Element coding | Value taking | Value taking |
Project building id | A01 | 1 | 1 |
Building partition id | A02 | 1 | 1 |
Building number | A03 | 1 | 1 |
Broker group id | A04 | 1 | 1 |
Broker id | A05 | 1 | 1 |
Area of house | A06 | 0-60 | 60-120 |
Amount of money collected | A07 | 10-15 | 15-30 |
Formula (II) |
And S3, detecting user request information, and matching a specific influence element group and a commission calculation rule corresponding to the specific influence element group according to the value of each influence element of the request information.
Step S3 specifically includes the following substeps:
s31, screening all fixed value influence elements, distributing data segments (from left to right) of binary bits where each fixed value influence element is located on 64-bit binary numbers of Long types according to actual conditions, and supporting 127 items to the maximum if item id is 0-7 in the data segments of the binary bits. Defining each influence element L1(K1), L2(K2), L3(K3) … … Ln (kn), wherein L is the influence element, and K is the data bit in the binary number where the influence element is located. As shown in fig. 1.
S32.VLBinary data bits, L, representing the conversion of values of influencing elements into specified data segmentsnA binary data bit of (kn) is VLnAccording to the following calculation formula:
key= VL1<<(64-K1) | VL2<<(64-K1-K2) | VL<<(64-K1-K2-K3) | VL<<(64-K1-K2…-Kn) And the key represents a unique comparison identifier composed of all fixed value-taking elements. The method has the advantages that a unique code is generated for different fixed value influence elements, and the influence elements of the fixed value types do not need to be sequentially traversed and matched after the request information comes in, so that the efficiency of calculation and matching is improved.
And S33, taking the key generated by the fixed value-taking element as a root node, taking the residual range influence element types as a layer as a child node respectively, constructing a tree structure, and taking the range of the influence element as a left value and a right value of the node. Different data ranges of the same influence element are used as different child nodes to be positioned in the same straight line branch, so that the tree structure is limited, all leaf nodes are positioned in the same layer, and a commission calculation formula is obtained. The influence element nodes of each node are arranged from small to large in sequence, and value ranges are divided. As shown in fig. 2.
And S34, traversing and matching the tree elements. And calculating according to the request information of commission calculation according to the above-mentioned S32 formula, producing the correspondent key by combining the fixed influence elements, matching root nodes and traversing the whole tree, and finding out the final commission calculation formula. As shown in fig. 3.
And S4, calculating the commission amount according to the commission calculation rule and outputting the commission amount.
And step S4, calculating by adopting a drools rule framework according to the finally obtained commission calculation formula. And (4) using a drools rule engine to calculate the commission, and realizing free collocation of commission calculation formulas by using the rule files of the drools. And finding a rule file of corresponding drools according to the obtained commission calculation formula, and filling the information for requesting commission calculation into Fact based on the characteristics of the drools to obtain a final calculation result.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The above embodiments are only for illustrating the technical idea of the present invention, and the protection scope of the present invention is not limited thereby, and any modifications made on the basis of the technical scheme according to the technical idea of the present invention fall within the protection scope of the present invention. While the embodiments of the present invention have been described in detail, the present invention is not limited to the above embodiments, and various changes can be made without departing from the spirit of the present invention within the knowledge of those skilled in the art.
Claims (5)
1. An intelligent commission calculation method based on building element matching is characterized by comprising the following steps:
s1, combing a service scene of commission calculation, and sorting out influence elements of commission calculation including house area, collection amount, city and floor through analysis of service requirements and the service scene; calculating rules according to commission corresponding to different influence elements;
s2, defining an influence element data model, and combining the influence elements arranged in the step S1 to generate a unique determined influence element group, wherein each influence element group corresponds to a fixed commission calculation rule;
s3, detecting that the user request information contains order information and floor information, and matching a specific influence element group and a commission calculation rule corresponding to the specific influence element group according to the value of each influence element of the request information;
and S4, calculating a specific commission amount according to a collection amount threshold value of commission generated in the matched commission calculation rule and the percentage or fixed amount of the collection amount after the threshold value is reached.
2. The intelligent commission calculation method based on floor element matching according to claim 1, wherein in one embodiment, in step S1, the commission calculation rule according to the difference of influence elements is that the commission percentage is different according to the difference of house area and collection amount.
3. The intelligent commission calculation method based on floor element matching of claim 1 wherein, in one embodiment, the step S2 specifically comprises the following sub-steps:
s21, storing the commission calculation influence elements sorted out in the step S1 in an influence element table, wherein the influence elements are divided into 2 types of fixed values and range values;
s22, configuring combination relations among the single influence elements, wherein each combination relation corresponds to a determined commission calculation formula.
4. The intelligent commission calculation method based on floor element matching of claim 1 wherein, in one embodiment, the step S3 specifically comprises the following sub-steps:
s31, screening all fixed value influence elements, distributing data sections of binary digits where the fixed value influence elements are located from left to right on a 64-bit binary number of the Long type according to actual conditions, and defining each influence element L1(K1), L2(K2) and L3(K3) … … Ln (kn), wherein L is the influence element, and K is the data bit in the binary number where the influence element is located;
s32, unique comparison identification keys formed by all the fixed value-taking elements are specifically calculated as follows:
key= VL1<<(64-K1) | VL2<<(64-K1-K2) | VL<<(64-K1-K2-K3) | VL<<(64-K1-K2…-Kn) Wherein V isLBinary data bits, L, representing the conversion of values of influencing elements into specified data segmentsnA binary data bit of (kn) is VLn;
S33, taking keys generated by fixed value-taking elements as root nodes, taking the residual range influence element types as a layer as child nodes respectively, constructing a tree structure, and taking the range of the influence elements as the left value and the right value of the nodes; different data ranges of the same influence element are used as different child nodes to be positioned in the same straight line branch, so that a tree structure is limited, all leaf nodes are positioned in the same layer, and a commission calculation method matched with the paths from the root node to the current leaf nodes is represented; the influence element nodes of each node are arranged from small to large in sequence, and value ranges are divided;
s34, tree-shaped influence elements are subjected to traversal matching: and according to the request information of commission calculation, calculating according to the formula of the step S32, producing a corresponding key by the combination of the fixed influence elements, traversing the whole tree by the matching root node, and finding out the final commission calculation formula.
5. The intelligent commission calculation method based on floor element matching according to claim 1, wherein: in one embodiment, in step S4, calculation is performed by using the drools rule framework according to the commission calculation formula, commission calculation is performed by using the drools rule engine, and free collocation of the commission calculation formula is realized by using the rules file of dros.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911400749.4A CN111242673B (en) | 2019-12-30 | 2019-12-30 | Intelligent commission calculation method based on building element matching |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911400749.4A CN111242673B (en) | 2019-12-30 | 2019-12-30 | Intelligent commission calculation method based on building element matching |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111242673A true CN111242673A (en) | 2020-06-05 |
CN111242673B CN111242673B (en) | 2022-07-08 |
Family
ID=70879508
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911400749.4A Active CN111242673B (en) | 2019-12-30 | 2019-12-30 | Intelligent commission calculation method based on building element matching |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111242673B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113436026A (en) * | 2021-06-23 | 2021-09-24 | 平安健康保险股份有限公司 | Capital data processing method and device, computer equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106651677A (en) * | 2016-12-08 | 2017-05-10 | 杭州销冠网络科技有限公司 | Intelligent calculation method and system |
CN109087188A (en) * | 2018-08-21 | 2018-12-25 | 万翼科技有限公司 | Settlement method, device and the computer readable storage medium of commission |
-
2019
- 2019-12-30 CN CN201911400749.4A patent/CN111242673B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106651677A (en) * | 2016-12-08 | 2017-05-10 | 杭州销冠网络科技有限公司 | Intelligent calculation method and system |
CN109087188A (en) * | 2018-08-21 | 2018-12-25 | 万翼科技有限公司 | Settlement method, device and the computer readable storage medium of commission |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113436026A (en) * | 2021-06-23 | 2021-09-24 | 平安健康保险股份有限公司 | Capital data processing method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111242673B (en) | 2022-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111639237B (en) | Electric power communication network risk assessment system based on clustering and association rule mining | |
US8326760B2 (en) | Computer-based collective intelligence recommendations for transaction review | |
CN106156941B (en) | A kind of user credit scoring optimization method and device | |
CN105389713A (en) | Mobile data traffic package recommendation algorithm based on user historical data | |
CN107392479A (en) | The power customer power failure susceptibility scorecard implementation of logic-based regression model | |
CN108446794A (en) | One kind being based on multiple convolutional neural networks combination framework deep learning prediction techniques | |
CN111160617A (en) | Power daily load prediction method and device | |
CN109359868A (en) | A kind of construction method and system of power grid user portrait | |
TWI786376B (en) | Demand forecasting method and demand forecasting apparatus | |
CN106326923A (en) | Sign-in position data clustering method in consideration of position repetition and density peak point | |
CN111242673B (en) | Intelligent commission calculation method based on building element matching | |
CN104866981A (en) | Modeling method based on business process management of extended finite state machine | |
CN106709823A (en) | Method for evaluating operation property of electric utilization information collection system of power user | |
CN112381610A (en) | Prediction method of group lease risk index and computer equipment | |
CN104881739B (en) | Data consistency verification method is matched somebody with somebody by a kind of battalion based on IEC61970/61968 CIM standards | |
Song et al. | An stochastic multiattribute acceptability analysis‐based method for the multiattribute project portfolio selection problem with rank‐level information | |
CN102508971A (en) | Method for establishing product function model in concept design stage | |
CN116415199B (en) | Business data outlier analysis method based on audit intermediate table | |
CN104008205A (en) | Content routing inquiry method and system | |
CN105447767A (en) | Power consumer subdivision method based on combined matrix decomposition model | |
Kim et al. | A daily tourism demand prediction framework based on multi-head attention CNN: The case of the foreign entrant in South Korea | |
CN106126523A (en) | A kind of counterfeit money Crime Information analyzes system and the method for analysis | |
CN117290364A (en) | Intelligent market investigation data storage method | |
CN110597805B (en) | Memory index structure processing method | |
CN112579721B (en) | Method and system for constructing crowd distribution map, terminal equipment and storage medium |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 211100 floor 5, block a, China Merchants high speed rail Plaza project, No. 9, Jiangnan Road, Jiangning District, Nanjing, Jiangsu (South Station area) Applicant after: JIANGSU AIJIA HOUSEHOLD PRODUCTS Co.,Ltd. Address before: 211100 No. 18 Zhilan Road, Science Park, Jiangning District, Nanjing City, Jiangsu Province Applicant before: JIANGSU AIJIA HOUSEHOLD PRODUCTS Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |