Multi-cycle gradient preferential settlement scheme matching method and system

By receiving configuration information on order fulfillment volume and discount accumulation period division criteria, the discount accumulation period and settlement price of products to be settled are automatically determined, solving the problems of low efficiency and poor accuracy in the existing technology when offering discounts for multiple product combinations, and realizing the automatic matching of efficient and accurate settlement schemes.

CN120996884APending Publication Date: 2025-11-21北京好雅创新科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511104773.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-07
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

Existing technologies cannot automatically match discount tiers when offering discounts for multiple product combinations, resulting in low efficiency and poor accuracy in determining settlement schemes, and the inability to guarantee the accuracy of cross-period accumulation.

Method used

By receiving configuration information such as order fulfillment volume, preferential accumulation period division criteria, and settlement scheme, and storing it in the database, the system automatically determines the preferential accumulation period and settlement price of the products to be settled. Using preferential gradients and settlement price calculation formulas, it achieves automatic matching of various product combination discounts.

Benefits of technology

It improved the efficiency and accuracy of settlement scheme determination, solved the problem of chaotic cross-cycle accumulation, realized the automatic matching of various product combination discounts, reduced the rate of manual intervention, and improved calculation efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120996884A_ABST
    Figure CN120996884A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-cycle gradient preferential settlement scheme matching method and system, and the method comprises the steps: obtaining a settlement request of a to-be-settled product in a receiving order, and obtaining the delivery time and the performance of the to-be-settled product; receiving a division criterion selection instruction, and querying a preferential accumulation period division criterion related to the division criterion selection instruction from the database; according to the queried preferential accumulation period division criterion, determining a preferential accumulation period to which the delivery time of the to-be-settled product belongs; querying a total performance amount of the preferential accumulation period and a settlement scheme corresponding to the total performance amount from a database; and determining the settlement price of the to-be-settled product according to the settlement scheme and the performance amount of the to-be-settled product. According to the invention, automatic matching of settlement schemes during combination and discount of multiple products is realized, and the determination efficiency and accuracy of the settlement schemes are improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data processing, and in particular to a matching method and system for a multi-period gradient discount settlement scheme. BACKGROUND

[0002] The statements in this section merely provide background information related to the present application and do not necessarily constitute the prior art.

[0003] In the sales process of petrochemical products, there will be corresponding price discounts when the product delivery volume reaches a certain standard, and the products are settled using the discounted price.

[0004] The current method only determines the price of a single product based on the delivery volume of the product when determining the discounted price of the product. When multiple product combinations are required, it cannot automatically match the discount gradient suitable for product combination discounts, and manual matching of the discount gradient and the delivery volume is required, which is low in efficiency and cannot guarantee the accuracy of the multiple product combination discounts. SUMMARY

[0005] To solve the above problems, the present application provides a matching method and system for a multi-period gradient discount settlement scheme, which realizes automatic matching of settlement schemes when multiple product combination discounts are required, improves the determination efficiency and accuracy of the settlement scheme, and improves the calculation efficiency and accuracy of product settlement.

[0006] To achieve the above purpose, the present application adopts the following technical solutions:

[0007] In a first aspect, a matching method for a multi-period gradient discount settlement scheme is provided, comprising:

[0008] Receiving configuration information of an order delivery volume account, configuration information of a discount accumulation period division criterion of a management end user, and configuration information of a settlement scheme of the management end user, and associating the delivery volume account with the corresponding discount accumulation period, the division criterion with the corresponding division criterion selection instruction, and the settlement scheme with the corresponding total delivery volume, and storing them in a database;

[0009] In response to a formula editing request of a management end user, a settlement formula expression text associated therewith is pushed; receiving settlement formula text data returned after editing the settlement formula expression text; updating the corresponding settlement formula in the database with the settlement formula text data;

[0010] Receiving a settlement request for a product to be settled in an order, obtaining the delivery time and delivery volume of the product to be settled;

[0011] receiving a division criterion selection instruction, querying a benefit accumulation period division criterion related to the division criterion selection instruction from a database, and determining a benefit accumulation period to which a delivery time of the product to be settled belongs according to the queried benefit accumulation period division criterion;

[0012] querying a total performance amount of the benefit accumulation period and a settlement scheme corresponding to the total performance amount from the database;

[0013] determining a settlement price of the product to be settled according to the settlement scheme and the performance amount of the product to be settled.

[0014] Further, in the step of querying the settlement scheme corresponding to the total performance amount from the database, one of the settlement schemes comprises a benefit gradient and a settlement price calculation formula; each benefit gradient corresponds to a plurality of products, each product is set corresponding to a benefit amount, and the settlement price calculation formula determines the settlement price of the product to be settled by using the benefit gradient and the performance amount of the product to be settled.

[0015] Further, selecting a benefit amount of the product to be settled corresponding to a highest benefit gradient reached by the total performance amount;

[0016] determining the settlement price of the product to be settled according to the benefit amount of the product to be settled corresponding to the highest benefit gradient reached by the total performance amount and a unit price of the product to be settled.

[0017] Further, when the settlement price of the product to be settled is less than or equal to 0, issuing a prompt information.

[0018] Further, the method further comprises receiving a division criterion selection instruction, querying a benefit accumulation period division criterion related to the division criterion selection instruction from a database;

[0019] obtaining a settlement period of the order;

[0020] determining delivery times and performance amounts of all products in the order within the settlement period;

[0021] determining a benefit accumulation period to which a delivery time of each product in the order belongs according to the queried benefit accumulation period division criterion;

[0022] dividing products belonging to the same benefit accumulation period into a category;

[0023] querying a total performance amount of each category of the benefit accumulation period and a settlement scheme corresponding to each total performance amount from the database;

[0024] determining a settlement price of each product according to the settlement scheme and the performance amount of each product;

[0025] obtaining a total settlement price of the settlement period according to the settlement prices of all products within the settlement period.

[0026] Further, according to the fulfillment amount of each product in the settlement period, the total fulfillment amount of all products in the settlement period is determined.

[0027] The proportion of the fulfillment amount of each product in the total fulfillment amount of all products is calculated as the weighted weight of each product.

[0028] The settlement price of all products in the settlement period is weighted and fused using the weighted weight of each product to obtain the total settlement price of the settlement period.

[0029] In a second aspect, a matching system for a multi-period gradient discount settlement scheme is provided, which is applied to the matching method for a multi-period gradient discount settlement scheme provided in the first aspect, and includes:

[0030] A settlement request analysis unit is configured to receive a settlement request for a product to be settled in an order, and obtain a delivery time and a fulfillment amount of the product to be settled.

[0031] A rule query unit is configured to receive a division criterion selection instruction, query a discount accumulation period division criterion related to the division criterion selection instruction from a period account database, determine a discount accumulation period to which the delivery time of the product to be settled belongs according to the queried discount accumulation period division criterion, query a total fulfillment amount of the discount accumulation period from an order and fulfillment database, and query a settlement scheme corresponding to the total fulfillment amount from a framework agreement database.

[0032] A settlement price determination unit is configured to determine a settlement price of the product to be settled according to the settlement scheme and the fulfillment amount of the product to be settled.

[0033] In a third aspect, a computer device is provided, which includes:

[0034] A processor is adapted to execute a computer program.

[0035] A computer readable storage medium has a computer program stored therein, and the computer program is executed by the processor to implement the matching method for a multi-period gradient discount settlement scheme provided in the first aspect.

[0036] In a fourth aspect, a computer readable storage medium is provided, which stores a computer program, and the computer program is adapted to be loaded and executed by a processor to implement the matching method for a multi-period gradient discount settlement scheme provided in the first aspect.

[0037] In a fifth aspect, a computer program product is provided, which includes a computer program, and the computer program is executed by a processor to implement the matching method for a multi-period gradient discount settlement scheme provided in the first aspect.

[0038] Compared with the prior art, the application has the following advantages:

[0039] The application provides a matching method and system for a multi-period gradient preferential settlement scheme.

[0040] In addition, the method can acquire a settlement period of the order, determine delivery times and settlement quantities of all products in the order in the settlement period, determine the delivery times of each product in the order according to the queried preferential accumulation period division criterion, divide products belonging to the same preferential accumulation period into one category, query total settlement quantities of each preferential accumulation period from the order and settlement database, query settlement schemes corresponding to each total settlement quantity from the framework agreement database, determine settlement prices of each product according to the settlement scheme and the settlement quantity of each product, and obtain a total settlement price of the settlement period according to the settlement prices of all products in the settlement period, so that the problem of cross-period accumulation confusion and rule adaptation failure is solved.

[0041] Advantages of the additional aspects of the application will be partially given in the following description, partially become obvious from the following description, or be learned by the practice of the application. BRIEF DESCRIPTION OF DRAWINGS

[0042] The accompanying drawings, which form a part of the present application, are included to provide a further understanding of the application, and are incorporated herein for explanation by reference.

[0043] Figure 1 A flowchart of the calculation of the settlement price of the settlement product disclosed in the embodiment;

[0044] Figure 2 A flowchart of the matching method of the multi-period gradient preferential settlement scheme disclosed in the embodiment;

[0045] Figure 3A matching method for a multi-period gradient preferential settlement scheme disclosed in the embodiment is applied to a system architecture diagram. DETAILED DESCRIPTION

[0046] The application will be further described below with reference to the drawings and embodiments.

[0047] It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the present application. Unless otherwise indicated, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs.

[0048] It should be noted that the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, the singular form is intended to include the plural form unless the context clearly indicates otherwise, and it should also be understood that when the terms "comprise" and / or "include" are used in the specification, there is a presence of a feature, step, operation, device, component, and / or combination thereof.

[0049] Embodiment 1

[0050] The conventional settlement system cannot support dynamic period division of "framework agreement time + advance settlement days", for example, when the framework agreement crosses a natural month (such as 3.16-6.15) and needs to be settled in advance for 3 days, it cannot automatically generate non-natural month fixed settlement periods such as "3.16-3.28" and "3.29-4.27", and needs to manually split the period, which is time-consuming and prone to errors.

[0051] The preferential cumulative period is bound to the settlement period, and cross-period accumulation or isolated calculation lacks automation, such as incorrect accumulation of delivery volume when settling across months, which leads to preferential gradient matching deviation, and manual correction is costly.

[0052] When involving "average price calculation + gradient rebate + self-defined settlement" composite rules, the traditional system relies on manual checking, such as manually matching "monthly preferential gradient" with performance volume for rebate calculation, which takes 5-10 minutes for single-period settlement, and when the gradient crosses (such as from 1000 tons to 2000 tons), the missing preferential difference rate reaches 15%.

[0053] When settling multiple product combinations, it is not possible to uniformly match preferential gradients according to total performance volume and calculate settlement prices by product, and it is necessary to independently account for each product, which is inefficient and prone to missing total gradient preferential.

[0054] When the settlement price is less than or equal to 0, the traditional system lacks an automatic blocking mechanism and needs to be manually processed after being checked, which takes 2-3 days and when self-defined settlement periods are used, it can easily damage the original fixed period structure, leading to confusion in page display and calculation logic.

[0055] In order to realize the automatic determination of product settlement price in various product combination preferential periods, and the automatic division of preferential accumulation periods in various settlement periods, improve the accuracy and efficiency of product settlement price calculation, a multi-period gradient preferential settlement scheme matching method is disclosed in the embodiment.

[0056] The application system of the multi-period gradient preferential settlement scheme matching method disclosed in the embodiment, as shown in the figure, includes a management end, a client end, a data processing end and a settlement single output end. Figure 3

[0057] The management end provides a self-defined period creation interface, and provides real-time preview of preferential accumulation period cutting effect and settlement price calculation result.

[0058] The management end is operated by a business manager, and the key parameters of the framework agreement are input, including:

[0059] Time range: clearly define the start and end time of the agreement, support natural month (such as 1.1-3.31) or non-natural month (such as 3.16-6.15).

[0060] Advance settlement days: set the number of days (0-4 days) for advance settlement in a natural month, which is used to cut a fixed settlement period, such as 3 days in advance settlement, the last 3 days of January are separately divided into a sub-period.

[0061] Preferential gradient: configure multi-level quantity-based preferential, such as 1000 tons of quantity-based preferential 50 yuan / ton, 2000 tons of quantity-based preferential 80 yuan / ton; support differentiated configuration according to product type.

[0062] Product list: input the products included in the agreement and their unit prices (such as product A unit price 200 yuan / ton, multiple products need to be managed uniformly).

[0063] The management end is also used to input the basic information of the preferential agreement, including start time, end time, advance settlement days, preferential gradient, product list and unit price, etc.

[0064] The data processing end includes a data layer, an application layer, a rule engine layer and a calculation layer.

[0065] The data layer sets up a framework agreement database, an order and performance database and a period account database.

[0066] The framework agreement database stores agreement number, product list (including unit price), preferential gradient (such as 1000 tons of quantity-based preferential 50 yuan / ton), start / end time and natural month advance settlement days (≤4 days) etc.

[0067] The order and performance database stores product order number, delivery time, product type, performance quantity and settlement state, and the settlement state includes un-settled and settled. ​

[0068] Real-time record order delivery time, product type, pickup volume, and update customer fulfillment volume account book (independent accumulation according to discount accumulation period).

[0069] The discount accumulation period division criteria are stored in the period account book database; the discount accumulation period division criteria include natural month division criteria and non-natural month division criteria.

[0070] The rule engine layer includes a period configuration module and a gradient matching engine.

[0071] The period configuration module is used to divide the discount accumulation period according to the settlement period, in natural months or non-natural months (such as 3.16-4.15), and the fulfillment volume is automatically cleared at the end of the period; the settlement period can be a fixed settlement period or a self-defined settlement period; for the fixed settlement period, the fixed settlement period is cut into multiple fixed time periods (such as 1.1-1.28 and 1.29-1.31 for 1 month) in combination with the “natural month advance settlement days”, supporting continuous division across natural months; the self-defined settlement period is set through the management end, and for the self-defined settlement period, it is automatically detected whether it contains multiple discount accumulation periods, and each discount accumulation period is divided and determined.

[0072] The gradient matching engine is used to determine the discount gradient according to the fulfillment volume, such as 2020 tons of fulfillment volume, the discount amount of 2000 tons is 80 yuan / ton, and the discount price corresponding to the discount gradient is; and the total fulfillment volume of multiple products is supported for combined calculation of the discount gradient.

[0073] The application layer includes a visual interaction module and a settlement bill generation module.

[0074] The settlement bill generation module is used to generate a settlement bill for a product according to the delivery time, fulfillment volume and settlement price of the product; and when multiple products are involved in a settlement period, a settlement bill for the settlement period is generated according to the delivery time, fulfillment volume, settlement price of each product in the settlement period and the total settlement price of the settlement period.

[0075] The visual interaction module is used to display the settlement bill through the client.

[0076] The calculation layer includes a settlement price calculation module and a compliance verification module.

[0077] The settlement price calculation module is used for product unit price calculation, settlement price calculation and exception handling.

[0078] Among them, the unit price of the product is the average value of the first listing price (or bidding price) of the product in the settlement period per day, supporting millisecond-level concurrent calculation (single node processing capacity ≥2000 pens / period).

[0079] The settlement price calculation includes settlement price calculation of each product and total settlement price calculation of the settlement period.

[0080] The abnormality processing refers to automatically blocking the creation of the settlement order, issuing a prompt information and triggering a manual negotiation process when the settlement price is less than or equal to 0; and automatically adjusting the remaining period division and updating the page display when the self-defined settlement period breaks the fixed period.

[0081] The compliance verification module is used to verify whether the early settlement days are less than or equal to 4 days and whether the self-defined period contains valid orders, so as to ensure that the calculation logic is consistent with the agreement configuration.

[0082] The settlement order output end is used to output the settlement order generated by the data processing end.

[0083] The settlement output end can be a printer and the like.

[0084] On this basis, a matching method of a multi-period gradient preferential settlement scheme disclosed in the embodiment is described in detail.

[0085] The matching method of the multi-period gradient preferential settlement scheme disclosed in the embodiment, as shown in Figure 1 、 Figure 2 , includes:

[0086] Receiving configuration information of an order fulfillment account, configuration information of a preferential cumulative period division criterion of a management end user and configuration information of a settlement scheme of the management end user, and associating the fulfillment account with a corresponding preferential cumulative period, associating the division criterion with a corresponding division criterion selection instruction and associating the settlement scheme with a corresponding total fulfillment amount, and storing in a database;

[0087] In response to a formula editing request of the management end user, a settlement formula expression text associated therewith is pushed; receiving settlement formula text data returned after editing the settlement formula expression text; updating the corresponding settlement formula in the database with the settlement formula text data;

[0088] Receiving a settlement request of a product to be settled in an order, obtaining the delivery time and fulfillment amount of the product to be settled;

[0089] Receiving a division criterion selection instruction, querying the preferential cumulative period division criterion related to the division criterion selection instruction from the database; determining the preferential cumulative period to which the delivery time of the product to be settled belongs according to the queried preferential cumulative period division criterion;

[0090] Querying the total fulfillment amount of the preferential cumulative period and the settlement scheme corresponding to the total fulfillment amount from the database;

[0091] According to the settlement scheme and the fulfillment amount of the product to be settled, the settlement price of the product to be settled is determined.

[0092] Specifically, the database includes an order and fulfillment database, a cycle account database, and a framework agreement database.

[0093] receive configuration information of an order fulfillment amount account, and store the fulfillment amount account in the order and fulfillment database in association with a corresponding discount accumulation cycle;

[0094] receive configuration information of a discount accumulation cycle division criterion of the management end user, and store the division criterion in the cycle account database in association with a corresponding division criterion selection instruction;

[0095] receive configuration information of a settlement scheme of the management end user, and store the settlement scheme in the framework agreement database in association with a corresponding total fulfillment amount;

[0096] push a settlement formula expression text associated with the management end user in response to a formula editing request of the management end user; receive settlement formula text data returned after editing the settlement formula expression text; and update a corresponding settlement formula in the framework agreement database with the settlement formula text data;

[0097] receive a division criterion selection instruction, and query a discount accumulation cycle division criterion related to the division criterion selection instruction from the cycle account database;

[0098] receive a settlement request of a product to be settled in an order, and obtain a delivery time and a fulfillment amount of the product to be settled;

[0099] determine a discount accumulation cycle to which the delivery time of the product to be settled belongs according to the queried discount accumulation cycle division criterion;

[0100] query a total fulfillment amount of the discount accumulation cycle from the order and fulfillment database;

[0101] query a settlement scheme corresponding to the total fulfillment amount from the framework agreement database;

[0102] determine a settlement price of the product to be settled according to the settlement scheme and the fulfillment amount of the product to be settled.

[0103] In the step of querying the settlement scheme corresponding to the total fulfillment amount from the database, one of the settlement schemes includes a discount gradient and a settlement price calculation formula; each discount gradient corresponds to multiple products, and each product is set in association with a discount amount, and the settlement price calculation formula determines the settlement price of the product to be settled by using the discount gradient and the fulfillment amount of the product to be settled.

[0104] select a discount amount of the product to be settled corresponding to a highest discount gradient reached by the total fulfillment amount;

[0105] The settlement price of the product to be settled is determined according to the discount amount corresponding to the highest discount gradient reached by the total performance amount and the unit price of the product to be settled.

[0106] For example, the discount gradient includes a first discount gradient and a second discount gradient.

[0107] The first discount gradient is that the performance amount reaches 1000 tons, and the discount amount corresponding to the first discount gradient is 50 yuan / ton; the second discount gradient is that the performance amount reaches 2000 tons, and the discount amount corresponding to the second discount gradient is 80 yuan / ton.

[0108] The performance amount of product A in the discount accumulation period is 800 tons, and the performance amount of product B is 1200 tons, so the total performance amount in the discount accumulation period is 800+1200=2000 tons.

[0109] The total performance amount 2000 tons reaches the second discount gradient, so the settlement price of each product is determined according to the discount amount 80 yuan / ton corresponding to the second discount gradient.

[0110] For example, when the unit price of the product is 2000 yuan / ton, the settlement price of the product after the discount through the second discount gradient is 2000-80=1920 yuan / ton.

[0111] The embodiment also generates a settlement invoice of the product to be settled according to the delivery time, performance amount and settlement price of the product to be settled.

[0112] When the settlement price of the product to be settled is less than or equal to 0, a prompt information is sent.

[0113] The embodiment also includes receiving a division criterion selection instruction, querying the discount accumulation period division criterion related to the division criterion selection instruction from the database;

[0114] Obtaining the settlement period of the order;

[0115] Determining the delivery time and performance amount of all products in the order in the settlement period;

[0116] According to the queried discount accumulation period division criterion, determining the discount accumulation period to which the delivery time of each product in the order belongs;

[0117] Products belonging to the same discount accumulation period are divided into a category;

[0118] Querying the total performance amount of each discount accumulation period and the settlement scheme corresponding to each total performance amount from the database;

[0119] According to the settlement scheme and the performance amount of each product, determining the settlement price of each product;

[0120] According to the settlement price of all products in the settlement period, the total settlement price of the settlement period is obtained.

[0121] The settlement period is a self-defined settlement period or a fixed settlement period.

[0122] The self-defined settlement period can be set according to the needs, such as setting the self-defined settlement period to 3.16-5.15.

[0123] The fixed settlement period is a settlement period defined in advance, such as 1.1-1.28, which can be selected from the list of fixed settlement periods generated by the system (such as "2.1-2.25"), without the need for manual input of time, reducing the complexity of operation.

[0124] According to the discount accumulation period division criterion, the settlement period is divided into discount accumulation periods;

[0125] The discount accumulation period to which the product delivery time belongs is taken as the discount accumulation period of the product.

[0126] The discount accumulation period division criterion can be a natural month division criterion or a non-natural month division criterion.

[0127] The natural month division criterion refers to dividing the settlement period according to natural months, such as January, February, etc.

[0128] The natural month division criterion can cut the natural month according to the early settlement days.

[0129] The early settlement days are used to cut the fixed settlement period.

[0130] The early settlement days can be set according to the needs, such as setting the early settlement days to 0 days or 3 days, etc.

[0131] When the early settlement days are 0 days, the fixed settlement period is completely consistent with the natural month / non-natural month discount accumulation period, such as 1.1-1.31.

[0132] When the early settlement days are 3 days, the natural month is divided into "from the beginning of the month to the early day" and "from the day after the early day to the end of the month", such as 1.1-1.28 and 1.29-1.31.

[0133] The non-natural month division criterion refers to dividing each 30 days from the start date of the settlement period into a discount accumulation period, ensuring that each discount accumulation period is a 30-day period, such as when the settlement period is 3.16-5.15, the discount accumulation periods include 3.16-4.15 discount accumulation period and 4.16-5.15 discount accumulation period.

[0134] The fulfillment amount in each preferential accumulation period is independently accumulated, and is automatically cleared at the end of the period to avoid cross-period accumulation. For example, the fulfillment amount in February is not accumulated to March.

[0135] When the product delivery time is 3.20, according to the selected preferential accumulation period division criterion, the preferential accumulation period of the product is determined to be March or 3.16-4.15 preferential accumulation period.

[0136] The order delivery time is 1.20, and when the natural month is divided, it is included in the 1-month preferential accumulation period, and the fulfillment amount is accumulated to the 1-month account.

[0137] The order delivery time is 1.30, and if it is settled three days in advance, the order may belong to the “1.29-1.31” fixed settlement period, but it is still included in the 1-month preferential accumulation period, because the preferential accumulation period is 1.1-1.31.

[0138] In this embodiment, the total fulfillment amount of all products in the settlement period is determined according to the fulfillment amount of each product in the settlement period;

[0139] The proportion of the fulfillment amount of each product in the total fulfillment amount of all products is calculated as the weighted weight of each product;

[0140] The settlement price of all products in the settlement period is weighted and fused using the weighted weight of each product to obtain the total settlement price of the settlement period.

[0141] The fulfillment amount refers to the delivery amount of the product, which can be obtained by calling the orders of each product.

[0142] For example, there is product C in the 3.16-4.15 preferential accumulation period, and product D in the 4.16-5.15 preferential accumulation period. The fulfillment amount of product C in the 3.16-4.15 preferential accumulation period is 1500 tons, and the fulfillment amount of product D in the 4.16-5.15 preferential accumulation period is 2000 tons. The unit price of product C is 2000 yuan / ton, and the corresponding preferential amount is 80 yuan / ton. The unit price of product D is 2000 yuan / ton, and the corresponding preferential amount is 100 yuan / ton. The settlement price of product C is 2000-80=1920 yuan / ton, and the settlement price of product D is 2000-100=1900 yuan / ton. The weight of product C is 1500 / 3500, and the weight of product D is 2000 / 3500. The total settlement price of the settlement period is (1920x1500+1900x2000) / 3500=1908.57 yuan / ton.

[0143] The matching method of the multi-period gradient preferential settlement scheme disclosed in the embodiment improves the calculation efficiency and accuracy of the product settlement price, solves the gradient missing calculation problem of the traditional system single product independent accounting, and through the settlement price threshold check (≤0 is blocked), and the self-defined period cutting algorithm, automatically maintains the integrity of the fixed period structure, the abnormal processing response time is ≤5 seconds, the efficiency is improved by 90% compared with the traditional system, and the manual intervention rate is reduced from 80% to less than 5%.

[0144] When the matching method of the multi-period gradient preferential settlement scheme is used to determine the product settlement price, the settlement price generation time is ≤1 minute, the multi-product combined settlement time is shortened from 10 minutes / single to 2 seconds / single, and the million-level order settlement time during the large promotion period is ≤1 hour. Strictly follow the rules of "preferential accumulation period independent clearing" and "fixed settlement period according to the agreement", meet the petrochemical sales financial audit requirements, and improve the traceability of settlement data by 90%.

[0145] In the embodiment, X.Y refers to X month Y day, such as 4.16 refers to April 16.

[0146] Embodiment 2

[0147] In this embodiment, a matching system of a multi-period gradient preferential settlement scheme is proposed, which is applied to the matching method of the multi-period gradient preferential settlement scheme proposed in embodiment 1, and includes:

[0148] The settlement request analysis unit is configured to receive the settlement request of the product to be settled in the order, and obtain the delivery time and the fulfillment amount of the product to be settled.

[0149] The rule query unit is configured to receive the division criterion selection instruction, query the preferential accumulation period division criterion related to the division criterion selection instruction from the period account database, determine the preferential accumulation period to which the delivery time of the product to be settled belongs according to the queried preferential accumulation period division criterion, query the total fulfillment amount of the preferential accumulation period from the order and fulfillment database, and query the settlement scheme corresponding to the total fulfillment amount from the framework agreement database.

[0150] The settlement price determination unit is configured to determine the settlement price of the product to be settled according to the settlement scheme and the fulfillment amount of the product to be settled.

[0151] The application also discloses a computer device, which includes:

[0152] The processor is adapted to execute the computer program.

[0153] A computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and the computer program, when executed by the processor, implements the matching method of the multi-period gradient discount settlement scheme disclosed in Embodiment 1.

[0154] The application further discloses a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and the computer program is adapted to be loaded and executed by the processor to implement the matching method of the multi-period gradient discount settlement scheme disclosed in Embodiment 1.

[0155] The application further discloses a computer program product, wherein the computer program product comprises a computer program, and the computer program, when executed by the processor, implements the matching method of the multi-period gradient discount settlement scheme disclosed in Embodiment 1.

[0156] The method disclosed in Embodiment 1 can be directly embodied by a hardware processor or a combination of hardware and software modules in the processor. The software modules can be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register or the like. The storage medium is located in a memory, and the processor reads information in the memory and combines the hardware to complete the steps of the above method. To avoid repetition, no further description is given here.

[0157] Those skilled in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the application.

[0158] Although the specific embodiments of the application are described above in combination with the drawings, the description is not a limitation on the protection scope of the application, and those skilled in the art should understand that various modifications or changes made by those skilled in the art on the basis of the technical solutions of the application without creative labor are still within the protection scope of the application.

Claims

1. A matching method for a multi-period tiered discount settlement scheme, characterized in that, include: The system receives configuration information for the order fulfillment volume ledger, configuration information for the preferential accumulation period division criteria of the management user, and configuration information for the settlement scheme of the management user. It then associates the fulfillment volume ledger with the corresponding preferential accumulation period, associates the division criteria with the corresponding division criteria selection instruction, and associates the settlement scheme with the corresponding total fulfillment volume, and stores them in the database. In response to a user's formula editing request, push the associated settlement formula expression text; receive the settlement formula text data returned after editing the settlement formula expression text; update the corresponding settlement formula in the database with the settlement formula text data; Receive settlement requests for products pending settlement in orders, and obtain the delivery time and fulfillment quantity of products pending settlement; Receive the division criteria selection instruction and query the database for the preferential cumulative period division criteria related to the division criteria selection instruction; Based on the criteria for dividing the cumulative discount period found in the query, determine the cumulative discount period to which the delivery time of the product to be settled belongs; Retrieve the total fulfillment volume and corresponding settlement plan for the cumulative discount period from the database; The settlement price of the products to be settled is determined based on the settlement plan and the performance volume of the products to be settled.

2. The matching method for a multi-period tiered discount settlement scheme as described in claim 1, characterized in that, In the steps of querying the settlement plan corresponding to the total fulfillment volume from the database, one of the settlement plans includes a discount tier and a settlement price calculation formula. Each discount tier corresponds to multiple products, and each product is set with a corresponding discount amount. The settlement price calculation formula uses the discount tier and the fulfillment volume of the product to be settled to determine the settlement price of the product to be settled.

3. The matching method for a multi-period tiered discount settlement scheme as described in claim 1, characterized in that, Select the discount amount for the product to be settled corresponding to the highest discount tier achieved in total fulfillment volume; The settlement price of the products to be settled is determined based on the discount amount corresponding to the highest discount tier reached in the total fulfillment volume and the unit price of the products to be settled.

4. The matching method for a multi-period tiered discount settlement scheme as described in claim 1, characterized in that, A reminder message will be issued when the settlement price of the product to be settled is less than or equal to 0.

5. The matching method for a multi-period tiered discount settlement scheme as described in claim 1, characterized in that, It also includes receiving instructions on selecting categorization criteria and querying the database for categorization criteria for preferential cumulative periods related to the instructions on selecting categorization criteria. Settlement cycle for acquired orders; Determine the delivery time and fulfillment volume of all products in the order within the settlement period; Based on the criteria for dividing the cumulative discount period found in the query, determine the cumulative discount period to which the shipping time of each product in the order belongs; Products belonging to the same cumulative discount period are grouped into one category; Retrieve the total fulfillment volume for each type of discount cumulative period and the settlement plan corresponding to each total fulfillment volume from the database; The settlement price for each product is determined based on the settlement plan and the fulfillment volume of each product. The total settlement price for the settlement period is obtained based on the settlement prices of all products within the settlement period.

6. The matching method for a multi-period tiered discount settlement scheme as described in claim 5, characterized in that, The total fulfillment volume of all products within the settlement period is determined based on the fulfillment volume of each product within the settlement period. Calculate the percentage of each product's fulfillment volume in the total fulfillment volume of all products, and use this percentage as the weighting weight for each product; By using the weighted average of each product, the settlement prices of all products within the settlement period are weighted and merged to obtain the total settlement price for the settlement period.

7. A matching system for a multi-period tiered discount settlement scheme, characterized in that, include: The settlement request parsing unit is used to receive settlement requests for products pending settlement in an order and to obtain the delivery time and fulfillment quantity of the products pending settlement. The rule query unit is used to receive the division criterion selection instruction and query the database for the preferential cumulative period division criterion related to the division criterion selection instruction; Based on the criteria for dividing the cumulative discount period found in the query, determine the cumulative discount period to which the delivery time of the product to be settled belongs; Retrieve the total fulfillment volume and corresponding settlement plan for the cumulative discount period from the database; The settlement price of the products to be settled is determined based on the settlement plan and the performance volume of the products to be settled.

8. An electronic device, characterized in that, The device includes: A processor, adapted to execute computer programs; A computer-readable storage medium storing a computer program, which, when executed by the processor, implements the matching method for a multi-period tiered discount settlement scheme as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program adapted to be loaded by a processor and executed by a matching method for a multi-period tiered discount settlement scheme as described in any one of claims 1-6.

10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements a matching method for a multi-period tiered discount settlement scheme as described in any one of claims 1-6.