Contract settlement management system
Through the design of the contract settlement management system, the calculation time-consuming and error-prone problems caused by complex settlement conditions of coal-fired contracts are solved, and the automatic settlement of the contract is realized, ensuring the accuracy and timeliness of settlement, and reducing business disputes.
Patent Information
- Application Number
- CN202310565752.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-19
- Publication Date
- 2024-11-22
AI Technical Summary
The settlement conditions of coal-fired contracts are complex, which leads to high time-consuming and error-prone use in manual calculations.
Design a contract settlement management system, including contract construction module, quality management module, calculation engine module and settlement management module, generate electronic contracts through structured components and templates, automatically analyze price calculation formulas, and calculate contract settlement prices.
It realizes automatic settlement of contracts, reduces the workload of contracts and settlement personnel, ensures the accuracy and timeliness of settlements, reduces business disputes, and enhances supplier affinity.
Smart Images

Figure CN119006228A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of computer software, and in particular relates to a contract settlement management system. Background Art
[0002] As a non-standard bulk material purchase, the contract acceptance of coal procurement involves the processes of delivery, factory measurement and delivery, and factory coal quality test results. The coal quality test results are divided into calorific value, sulfur content, ash content, volatile matter, total water, ash melting point, etc. The settlement pricing terms include quantity deduction (quantity deduction is divided into segmented and non-segmented deduction), coal quality deduction, deduction basis is divided into base price deduction and segmented deduction, preferential terms settlement, coal quality deduction is divided into weighted settlement and single batch settlement (meeting certain coal quality index conditions), partial index single batch (meeting certain coal quality index conditions), etc. In addition to regular deductions, there are double deductions in settlement. When certain conditions are met, penalties or rewards will be deducted again on the basis of the settlement unit price after the deductions have been made, and the deduction value of the deduction clause in the contract needs to be calculated and determined based on some static or dynamic values.
[0003] Since the settlement conditions of coal contracts are very complex, manual calculations are extremely time-consuming, labor-intensive and prone to errors. Summary of the invention
[0004] The purpose of the present invention is to overcome the defects that the settlement conditions of coal contracts are complicated, manual calculation is very time-consuming, the calculation workload is large and errors are easy to occur.
[0005] In order to achieve the above object, the present invention proposes a contract settlement management system, the system comprising:
[0006] Contract building module, used to build electronic contracts that can be recognized and parsed by the system;
[0007] Quantity and quality management module, used to collect quantity and quality data of materials;
[0008] A calculation engine module, used to parse the price calculation formula of the electronic contract and calculate the contract settlement price; and
[0009] The settlement management module is used to call the calculation engine module, input the quantity and quality data obtained by the quantity and quality management module, and obtain the contract settlement price.
[0010] As an improvement of the above method, the contract building module includes:
[0011] Build contract component submodules to maintain contract structured components;
[0012] Build a contract template submodule to prepare templates for different types of contracts; and
[0013] The contract building submodule is used to build an electronic contract through contract structured components, or to generate an electronic contract based on a contract template.
[0014] As an improvement to the above method, the types of the contract structured components include:
[0015] The contract basic information component is used to enter the basic contract information;
[0016] The variable management component is used to manage the system variables used when adding deduction clauses to contracts;
[0017] Base price component, used to enter the batch base price of the contract;
[0018] The deduction clause component is used to enter the deduction clause information when calculating the settlement price. According to the type of deduction clause, the deduction clause component includes: quantity deduction, coal quality deduction, additional deduction and preferential clause sub-components;
[0019] The pricing information component is used to enter the transportation loss calculation method, settlement basis and settlement weighting method information when calculating prices;
[0020] Legal terms component, used to enter legal information of the contract; and
[0021] Approval component, used to set up the contract approval process.
[0022] As an improvement to the above method, the base price component supports setting:
[0023] Multiple Benchmark Prices, for a contract containing more than one benchmark price; and
[0024] Multiple prices are used in business scenarios where suppliers frequently change prices and support automatic price matching.
[0025] As an improvement to the above method, the deduction clause component supports the setting of:
[0026] Segmented pricing is used to calculate deductions based on preset benchmark values, deduction steps and deduction amounts, and to calculate cumulatively between different deduction clauses;
[0027] Benchmark pricing is used to calculate deductions based on the preset benchmark value, deduction step and deduction amount. Different deduction clauses are not cumulatively calculated.
[0028] Quantity / fulfillment rate assessment, used for pricing based on quantity and / or fulfillment rate assessment;
[0029] Fixed price, used to calculate a fixed base price or settlement price when set conditions are met during settlement or provisional valuation;
[0030] Preferential terms, used to reward or deduct the base price, settlement price or settlement amount according to the preferential terms entered in the deduction terms; and
[0031] Set terms by variables, which is used to set deduction terms using system variables and supports custom variables.
[0032] As an improvement to the above method, the pricing information component supports setting:
[0033] Transport loss, used to set whether to settle transport loss and the calculation method of transport loss, including receiving data collected by the quantity and quality management module or calculating transport loss according to the preset formula;
[0034] Settlement basis, used to set the basis for settlement, including settlement by shipment, settlement by third party, and settlement by factory entry;
[0035] Settlement weighting method is used to set the weighting method for settlement, including weighted pricing, single batch pricing and single batch pricing for some indicators.
[0036] As an improvement of the above method, the electronic contract is constructed by using the contract structured components, and the specific steps include:
[0037] Step E1: Select contract components; the contract drafter selects contract components from the contract structured components, where the mandatory components are generated by the system by default, and the optional components are selected by the contract drafter according to the content of the contract;
[0038] Step E2: Adjust contract parameters; the contract compiler modifies the input parameters of each component in the selected component according to the contract content;
[0039] Step E3: The contract construction submodule generates an electronic contract using the contract construction rules according to the components selected and the parameters input by the contract compiler;
[0040] Step E4: Test the contract; the contract preparer performs a settlement calculation test on the generated contract and inputs the estimated settlement parameters. The system performs calculations based on the settlement parameters, base price, variables and deduction clauses to test the correctness of the contract preparation.
[0041] As an improvement to the above method, the electronic contract is generated based on the contract template, and the specific steps include:
[0042] Step F1: Select a contract template; the contract preparer selects the corresponding contract template according to the characteristics of the contract to be created, and constructs a contract submodule to generate a contract based on the contract template;
[0043] Step F2: Adjust parameters according to contract agreement; the contract preparation personnel adjust the parameters of the relevant information items of the contract agreement based on the contract generated by the contract template according to the agreement of the actual contract;
[0044] Step F3: Generate an electronic contract; the contract drafter tests the correctness of the contract, and generates an electronic contract after the test passes.
[0045] As an improvement of the above method, the quality data management process of the quality management module includes:
[0046] Step C1: Collect quantity data; collect detailed data of automobile scale measurement and detailed data of train weighing measurement through the data collection interface;
[0047] Step C2: Collect quality data; collect test indicators from various test instruments and equipment through the data collection interface and generate a test report;
[0048] Step C3: Batch management of quantity and quality data: associate the quantity data and quality data of the same batch to form quantity data and quality data in batch units.
[0049] As an improvement of the above method, the calculation process of the calculation engine module includes:
[0050] Step D1: Obtain data; according to the input contract number and batch list, obtain the contract information and quantity and quality information required for calculation;
[0051] Step D2: Generate a formula; adopt the RETE algorithm, take the rules in the contract information as the rule set, take the single settlement basis and data as the instance, match the instance with the rule set, combine and generate the formula for this calculation, and assign actual values to the variables therein;
[0052] Step D3: Calculate the formula; calculate the generated formulas one by one according to the calculation rules to obtain specific calculation results.
[0053] Compared with the prior art, the advantages of the present invention are:
[0054] The present invention realizes the creation, automatic identification, and formulaic construction of deduction clauses of contracts, and realizes settlement automation, which can greatly reduce the workload of contract and settlement personnel, ensure the accuracy and timeliness of settlement, reduce business disputes, and enhance supplier affinity. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 The following is the architecture diagram of the contract settlement management system;
[0056] Figure 2 Shown is a contract construction flow chart;
[0057] Figure 3 The following is a schematic diagram of the contract structure decomposition;
[0058] Figure 4The figure shows the interface diagram for compiling pricing terms for a single batch of pricing;
[0059] Figure 5 The following is a schematic diagram of the interface for compiling pricing terms for a single batch of some indicators;
[0060] Figure 6 The following is a schematic diagram of the interface for compiling general deduction clauses;
[0061] Figure 7 The figure shows the interface diagram for compiling other additional deduction clauses;
[0062] Figure 8 The figure shows the interface diagram for compiling the quantity segmented deduction clause;
[0063] Fig. 9 The figure shows the application diagram of variables in the calculation formula of the additional deduction clause;
[0064] Fig.10 The figure shows the test interface diagram of the contract deduction clause verification;
[0065] Fig.11 Shown is a schematic diagram of quantitative and qualitative data collection;
[0066] Fig.12 The figure shows the process of calculating the contract settlement price by the calculation engine module;
[0067] Fig.13 Shown is a functional schematic diagram of the RETE algorithm;
[0068] Fig.14 The figure shows the schematic diagram of the matching network process of the RETE algorithm;
[0069] Fig.15 Shown is a functional diagram of the settlement management module. DETAILED DESCRIPTION
[0070] The technical solution of the present invention is described in detail below with reference to the accompanying drawings.
[0071] The contract settlement management system provided by this application includes a contract construction module, a quantity and quality management module, a calculation engine module and a settlement module. The contract construction module is responsible for the structured and formulaic construction of non-standard bulk material procurement contracts, and realizes the conversion of the contract from text to structured content that can be recognized and parsed by the system; the quantity and quality management module is responsible for obtaining the settlement quantity required for settlement from the metering equipment, and obtaining the quality basis required for settlement from the testing equipment, and has the function of manually inputting or importing the quantity and quality basis provided by a third party as the basis for settlement; the settlement calculation engine is responsible for completing the parsing of the contract formula and calculating the settlement base price and additional deduction amount based on the settlement quantity and quality basis; the settlement module is responsible for generating a settlement statement as the basis for settlement and reconciliation between Party A and Party B. The relationship between the modules is as follows: Figure 1 shown.
[0072] 1. Contract building module
[0073] The contract construction module decomposes the contract content to form a formatted, standardized, and formulated electronic contract that can be recognized and parsed by the system, providing strong support for automatic settlement. Figure 2 As shown, contract construction is divided into two modes. One is to start from a blank contract, select structured components, input parameters, and the system combines to generate an electronic contract; the other is to first select a contract template, adjust parameters, and generate an electronic contract.
[0074] The contract construction module includes a contract component construction sub-module, a contract template construction sub-module and a contract construction sub-module.
[0075] (1) Construct the contract component submodule to establish the contract structured component. The contract structured component abstracts the various components in the contract into standard components. Users can select different contract structured components to combine into a contract as needed. After the user selects the contract structured component, the parameters of the component can be modified to adapt to different contract requirements.
[0076] The types of contract structured components include basic contract information components, variable management components, base price components, deduction clause components (including subcomponents: quantity deductions, coal quality deductions, additional deductions, preferential terms, etc.), legal clause components and approval components.
[0077] The basic contract information component is used to enter basic contract information, including the contract name, subject matter, rights and obligations of both parties, etc.
[0078] The variable management component is used to manage the variables used when adding deduction clauses to contracts.
[0079] The base price component is used to enter the batch base price of the contract.
[0080] The deduction clause component is used to enter the deduction clause information when calculating the settlement price. According to the type of deduction clause, it is divided into sub-components such as quantity deduction, coal quality deduction, additional deduction, and preferential terms.
[0081] The pricing information component is used to enter the transportation loss calculation method, settlement basis, settlement weighting method, etc. when calculating prices.
[0082] The legal terms component is used to enter legal information such as liability for breach of contract, termination conditions, and dispute resolution clauses.
[0083] Approval component, used to set up the contract approval process.
[0084] (2) Construct a contract template submodule to prepare templates for different types of contracts. The contract template references a variety of contract structured components, including various contract terms, pricing basis, pricing reward and penalty terms, etc., and has the conditions for quickly generating contracts through reference.
[0085] (3) Constructing a contract submodule, which is used to construct an electronic contract through contract structured components, or to generate an electronic contract based on a contract template.
[0086] The steps to construct a contract are described below:
[0087] Method 1: Building electronic contracts through contract structured components
[0088] Step A1: Construct contract components: Sort out and summarize the coal-fired contracts and establish contract structured components. The structured components include the contract basic information component (mandatory component), variable management component (optional component), base price component (mandatory component), deduction clause component (optional subcomponents include: quantity deduction, coal quality deduction, additional deduction, preferential terms), pricing information component (mandatory component), legal clause component (mandatory component) and approval component (mandatory component), etc.;
[0089] Step A2: Select contract components: When creating a new contract, the contract preparer selects the components that make up the contract from the structured components. The mandatory components are generated by the system by default, and the optional components are selected by the contract preparer based on the content of the contract.
[0090] Step A3: Adjust contract parameters: The contract compiler modifies the input parameters of each component in the selected component according to the contract content;
[0091] Step A4: The system generates an electronic contract using the contract construction rules based on the components selected and parameters entered by the contract compiler;
[0092] The system supports batch editing, deleting and copying of deduction clauses. You can batch edit, delete and copy the created deduction clauses. Copying means copying the deduction clauses under base price A to base price B.
[0093] Step A5: Test the contract: The contract preparer performs a settlement calculation test on the generated contract and inputs the estimated settlement parameters. The system calculates based on the settlement parameters, base price, variables and deduction clauses to test the correctness of the contract preparation.
[0094] Step A6: Approve the contract: After the contract passes the test, the contract compiler submits the contract for approval process to complete the creation of the contract.
[0095] Method 2: Generate an electronic contract based on a contract template
[0096] Step B1: Build a contract template library: The template creator conducts a comprehensive review of the user's contract templates, classifies them according to the characteristics of the contracts, and compiles templates for different types of contracts. The contract templates include various contract terms, pricing basis, pricing reward and penalty terms, which are all set according to the rules and have passed the test, and are capable of quickly generating contracts by reference;
[0097] Step B2: Select a contract template: The contract preparer selects the corresponding contract template according to the characteristics of the contract to be created. The system generates a contract based on the contract template and creates the basic terms, pricing basis, and pricing reward and penalty terms of the contract;
[0098] Step B3: Adjust parameters according to key contract agreements: The contract preparer adjusts the parameters of the contract agreement-related information items based on the contract generated by the contract template according to the actual contract agreement, so that the generated electronic contract agreement content is consistent with the contract content determined offline with the supplier;
[0099] Step B4: Generate an electronic contract: After completing the above three steps, the contract compiler can test the correctness of the contract. After the test passes, the system generates an electronic contract.
[0100] The key pricing terms of the contract are described in the following table:
[0101]
[0102]
[0103] The contract preparation interface is described as follows:
[0104] 1) Interface design for preparing single batch pricing terms
[0105] like Figure 4 As shown, first select the settlement weighting method as "single batch pricing", and then select the pricing conditions in the single batch pricing condition settings. The coal quality items include: low calorific value, volatile matter, sulfur content, total water, ash content, ash melting point, contract fulfillment rate, etc. The pricing conditions are adjusted accordingly according to the selected coal quality items. For example, the low calorific value uses the calorific value Kcal as the comparison target.
[0106] After the settings are completed, this contract clause will be priced in a single batch when the set pricing conditions are met.
[0107] 2) Design of interface for compilation of pricing clauses for single batch of some indicators
[0108] like Figure 5As shown, first select the settlement weighting method as "Partial index single batch pricing", and then select the pricing conditions in the single batch pricing condition setting. The pricing conditions are adjusted accordingly according to the selected coal quality items. For example, the low calorific value uses the calorific value Kcal as the comparison target.
[0109] After the settings are completed, this contract clause will be used to carry out single batch pricing based on some indicators when the set pricing conditions are met.
[0110] 3) Design of interface for preparation of general deduction clauses
[0111] like Figure 6 As shown in the figure, when the pricing type is selected as segmented pricing, base pricing, preferential terms or setting terms by variables, you can set additional deduction terms. Select the coal quality items, assessment interval, assessment benchmark value, assessment term step length and assessment term value for the additional deduction terms.
[0112] The implementation of the deduction clause is within the assessment range, based on the assessment benchmark value. The corresponding value of the assessment clause to be deducted is obtained according to the step size of the assessment clause that the numerical value of the coal quality item meets.
[0113] 4) Interface design for preparing other additional deduction clauses
[0114] like Figure 7 As shown, the deduction clauses can also be customized as needed. You can set multiple deduction clause intervals and the deduction clause values corresponding to each interval according to the selected deduction items. The system obtains the corresponding deduction clause value based on the deduction clause interval that the coal quality item value meets.
[0115] 5) Design of interface for preparation of quantity segmented deduction clauses
[0116] like Figure 8 As shown, the additional deduction clause can also set multiple additional deduction clause intervals according to the quantity of goods, and the additional deduction clause value corresponding to each interval. For example:
[0117] Condition 1: For the part of the incoming quantity <= 80,000 tons, the settlement is RMB 900 / ton;
[0118] Condition 2: 10>=For the part of the incoming quantity>80,000 tons, the settlement price shall be RMB 950 / ton.
[0119] 6) Application of variables in the calculation formula for additional deductions
[0120] like Fig. 9As shown, when setting the value of the assessment clause for additional deduction, it can be set to a fixed value or a value calculated based on a variable. For example, when setting the value of the assessment clause for additional deduction corresponding to a certain assessment clause step, it can be set to the value of the assessment clause for additional deduction calculated according to the formula (the value of "Shenhua Outsourcing 5500" - the value of "Shenhua Outsourcing 5000") / 500. Among them, "Shenhua Outsourcing 5500" and "Shenhua Outsourcing 5000" are preset variables, which can be pre-set by the administrator in the system.
[0121] 7) Design of the test interface for verification of contract deduction clauses
[0122] like Fig.10 As shown in the figure, after setting the additional deduction terms, you can test the set terms to check whether the set additional deduction terms meet your expectations. First, enter the quantity and quality test data required for settlement, and the system will perform simulation calculations to display the calculation results.
[0123] 2. Quantitative and qualitative data management module
[0124] The quantity and quality data management module has a universal interface for non-standard bulk material quantity and quality data collection equipment, which can integrate all measurement and quality data, realize the automatic collection of measurement and quality data, eliminate human intervention, improve the timeliness, accuracy and completeness of data, standardize interfaces, and keep basic data off the ground, reducing human intervention. Fig.11 shown.
[0125] The process of quantitative and qualitative data management is divided into the following steps:
[0126] Step C1: Collecting quantity data: The system constructs a measurement data collection interface and transmission processing middleware to automatically collect the measurement details of the truck scale and the train weighing measurement details, and transmits them to the quantity and quality data management module in a timely manner;
[0127] Step C2: Collecting quality data: The system constructs a quality data collection interface and a transmission processing middleware. In the transmission processing middleware, there are functions such as indicator confirmation management, test report generation management, test report printing and export management, and test report review management, which can realize automatic collection of test indicators from various test instruments and equipment, manual confirmation of indicator validity, automatic generation of test reports, and automatic upload of the reviewed reports to the quality data management module;
[0128] Step C3: Batch management of quantity and quality data: After the batch measurement data and coal quality data are uploaded to the quantity and quality data management module, the batch quantity and quality data are automatically or manually associated and decoded according to the settings, and the batch quantity and quality data are officially released in the system.
[0129] 3. Computing engine module
[0130] The calculation engine module uses the Polish prefix method to parse the calculation formula, and combines keywords and agreed format text recognition to implement the parsing and calculation of multi-condition, multi-function and complex calculation formulas. The calculation engine parses the calculation formula, replaces the regular system variables and user variables in the calculation formula according to the data generated by the actual business, and determines which calculation logic needs to be calculated based on the variables and the set constraints, and which calculation formulas that do not meet the constraints are ignored. After determining the calculation logic, the variable data required for the calculation is introduced into the calculation formula for calculation, and finally the calculation result of the formula is obtained, and the results of the intermediate calculation variables are output together.
[0131] like Fig.12 As shown in the figure, the settlement order and the provisional estimate are the callers that start the calculation engine and call the calculation module. When the settlement order and the provisional estimate call the calculation module, they need to pass in various parameters required for calculation, such as the settlement contract number, batch information, etc. The calculation process is mainly divided into four steps, which are uniformly scheduled and managed by the calculation scheduling center.
[0132] Step D1: Obtain data: According to the parameters passed in (contract number, batch list), obtain the contract information and quantity and quality information required for calculation;
[0133] Step D2: Generate formula: The system adopts the RETE algorithm, taking the rules in the contract as the rule set and the basis and data of a single settlement as the instance, and quickly matches the instance with the rule set. Based on the matching of the instance and the rule, and according to the logic of business priority, the formula for this calculation is combined and generated, and the variables therein are assigned actual values.
[0134] The working principle of the RETE algorithm and its application in the generation of this formula are as follows:
[0135] Basic concepts of RETE algorithm pattern matching
[0136] The RETE algorithm is a fast pattern matching algorithm that gains running speed by storing information about rules. The basic concepts of the algorithm are explained as follows:
[0137] The rules can be satisfied:
[0138] A rule is called satisfiable if each pattern of the rule can find a matching fact in the current working memory and the same variable between patterns can obtain the same constraint value. Formally speaking, a rule is called satisfiable if there exists a variable σ such that for every pattern P i , there is an element W in the working memory i satisfy:
[0139] P i σ=W i i=1,2,3...m
[0140] Here, the result of σ acting on a certain pattern is called a pattern instance, and the result of σ acting on the entire rule is called a rule instance. In an expert system, a satisfiable rule is called a signature rule.
[0141] Conflict Set:
[0142] The set of all rule instances is called a conflict set. It is also called a parent list.
[0143] The tasks of the pattern matching algorithm are:
[0144] Given a rule base, according to the current state of the working memory, by matching with the rule pattern, the satisfiable rules are sent to the conflict set, and the unsatisfiable rules are deleted from the conflict set.
[0145] The basic idea of RETE algorithm:
[0146] The important basis for the fast matching of RETE algorithm is:
[0147] Temporal redundancy: The content in the working memory changes slowly during the reasoning process, that is, in each execution cycle, the number of added and deleted facts is only a small proportion, so the number of rules affected by the change in the working memory is also only a small proportion. Due to the refractive nature of the production system, as long as we remember which facts have been matched in each execution cycle, we only need to consider the impact of the modified facts on the matching process.
[0148] Structural similarity: Many rules often contain similar patterns and groups of patterns.
[0149] The basic idea of the RETE algorithm is to save all the information left in the past matching process in exchange for the execution efficiency of the production system at the cost of space.
[0150] RETE matching network structure:
[0151] The core of the RETE algorithm is to establish the RETE matching network structure. It consists of two parts: the pattern network and the connection network. The pattern network records the test conditions of each domain of each pattern. Each test condition corresponds to a domain node of the network. All domain nodes of each pattern are connected in sequence to form a matching chain of the pattern network.
[0152] RETE matching network process:
[0153] The RETE network matching process consists of pattern matching on the pattern network and partial matching on the connection network. In the machine internal representation of the pattern network, all nodes that share a parent node are represented as a shared chain. At the same time, the nodes in each pattern matching chain are represented as a downlink chain. Thus, each node is pointed to its successor node by the shared chain and the downlink chain. The pattern network is a binary tree that can be tested using a typical traversal algorithm. This formula uses the RETE matching network process as follows Fig.13 shown.
[0154] Step D3: Calculate formula: Calculate the generated formulas one by one according to the calculation rules and obtain specific results. Single or multiple output results will be generated during the calculation process;
[0155] Step D4: Output result: Return the result to the calling party.
[0156] 4. Settlement management module
[0157] like Fig.14 As shown, when preparing a settlement statement, the settlement management module calls the quantity and quality management module to obtain quantity and quality data, calls the calculation engine to calculate the settlement quantity, quality and price according to the contract calculation formula, and finally outputs the settlement price, itemized additional unit price and settlement amount.
[0158] The present invention realizes the creation, automatic identification, and formulaic construction of deduction clauses of contracts, and realizes settlement automation, which can greatly reduce the workload of contract and settlement personnel, ensure the accuracy and timeliness of settlement, reduce business disputes, and enhance supplier affinity.
[0159] Before this system was used, all contracts were manually prepared by contract preparers, and the contract settlement method was unstructured data. When calculating the settlement price, the quantity and quality data of materials could only be obtained manually from multiple links, and the calculation was performed manually according to the contract rules. The contract preparation time and settlement time were very long, and the settlement price was prone to errors, and there was room for human intervention. After using this system, contract preparation has been achieved quickly and standardized, and contract settlement has been achieved in a timely and accurate manner, avoiding human control. In particular, the contract structured components suitable for the field of coal procurement provided by this system can be used by contract preparers to set complex coal settlement formulas through the selection of components and parameter modification, so that the non-institutional settlement formulas can be structured, and the data reading interface can be used to automatically read the quantity and quality of coal, and the settlement price can be automatically calculated according to the structured formula, realizing the informatization of the entire process of coal from contract preparation to factory measurement and settlement, greatly improving the company's operating efficiency and reducing business disputes.
[0160] The present invention may also provide a computer device, comprising: at least one processor, a memory, at least one network interface and a user interface. The various components in the device are coupled together through a bus system. It is understood that the bus system is used to achieve connection and communication between these components. In addition to the data bus, the bus system also includes a power bus, a control bus and a status signal bus.
[0161] The user interface may include a display, a keyboard or a pointing device, such as a mouse, a trackball, a touch pad or a touch screen.
[0162] It can be understood that the memory in the disclosed embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus random access memory (DRRAM). The memory described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0163] In some embodiments, the memory stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof: an operating system and applications.
[0164] The operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application includes various application programs, such as a media player (MediaPlayer), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present disclosure can be included in the application.
[0165] In the above embodiment, the processor may also call a program or instruction stored in the memory, specifically, a program or instruction stored in an application program, and is used to:
[0166] Execute the steps of the above method.
[0167] The above method can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor may be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The above-disclosed methods, steps and logic block diagrams can be implemented or executed. The general processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the above-disclosed method can be directly embodied as a hardware decoding processor to execute, or the hardware and software modules in the decoding processor can be combined to execute. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0168] It is understood that the embodiments described in the present invention can be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processors (Digital Signal Processing, DSP), digital signal processing devices (DSP Device, DSPD), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field-Programmable Gate Array, FPGA), general processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application or a combination thereof.
[0169] For software implementation, the technology of the present invention can be implemented by executing the functional modules (such as procedures, functions, etc.) of the present invention. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0170] The present invention may also provide a non-volatile storage medium for storing a computer program. When the computer program is executed by a processor, each step in the above method embodiment can be implemented.
[0171] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention is described in detail with reference to the embodiments, it should be understood by those skilled in the art that any modification or equivalent replacement of the technical solutions of the present invention does not depart from the spirit and scope of the technical solutions of the present invention and should be included in the scope of the claims of the present invention.
Claims
1. A contract settlement management system, It is characterized in that The system comprises: Contract building module, used to build electronic contracts that can be recognized and parsed by the system; Quantity and quality management module, used to collect quantity and quality data of materials; A calculation engine module, used to parse the price calculation formula of the electronic contract and calculate the contract settlement price; and The settlement management module is used to call the calculation engine module, input the quantity and quality data obtained by the quantity and quality management module, and obtain the contract settlement price.
2. The contract settlement management system according to claim 1, It is characterized in that The contract building modules include: Build contract component submodules to maintain contract structured components; Build a contract template submodule to prepare templates for different types of contracts; and The contract building submodule is used to build an electronic contract through contract structured components, or to generate an electronic contract based on a contract template.
3. The contract settlement management system according to claim 2, It is characterized in that The types of contract structure components include: The contract basic information component is used to enter the basic contract information; The variable management component is used to manage the system variables used when adding deduction clauses to contracts; Base price component, used to enter the batch base price of the contract; The deduction clause component is used to enter the deduction clause information when calculating the settlement price. According to the type of deduction clause, the deduction clause component includes: quantity deduction, coal quality deduction, additional deduction and preferential clause sub-components; The pricing information component is used to enter the transportation loss calculation method, settlement basis and settlement weighting method information when calculating prices; Legal terms component, used to enter legal information of the contract; and Approval component, used to set up the contract approval process.
4. The contract settlement management system according to claim 3, It is characterized in that The base price component supports the following settings: Multiple base prices, used for a contract containing multiple base prices; and Multiple prices are used in business scenarios where suppliers frequently change prices and support automatic price matching.
5. The contract settlement management system according to claim 3, It is characterized in that The deduction clause component supports the following settings: Segmented pricing is used to calculate deductions based on preset benchmark values, deduction steps and deduction amounts, and to calculate cumulatively between different deduction clauses; Benchmark pricing is used to calculate deductions based on the preset benchmark value, deduction step and deduction amount. Different deduction clauses are not cumulatively calculated. Quantity / fulfillment rate assessment, used for pricing based on quantity and / or fulfillment rate assessment; Fixed price, used to calculate a fixed base price or settlement price when set conditions are met during settlement or provisional valuation; Preferential terms, used to reward or deduct the base price, settlement price or settlement amount according to the preferential terms entered in the additional and deductible terms; and Set terms by variables, which is used to set deduction terms using system variables and supports custom variables.
6. The contract settlement management system according to claim 3, It is characterized in that The pricing information component supports the following settings: Transport loss, used to set whether to settle transport loss and the calculation method of transport loss, including receiving data collected by the quantity and quality management module or calculating transport loss according to the preset formula; Settlement basis, used to set the basis for settlement, including settlement by shipment, settlement by third party, and settlement by factory entry; and Settlement weighting method is used to set the weighting method for settlement, including weighted pricing, single batch pricing and single batch pricing for some indicators.
7. The contract settlement management system according to claim 2, It is characterized in that The electronic contract is constructed by using the contract structured components, and the specific steps include: Step E1: Select contract components; the contract drafter selects contract components from the contract structured components, where the mandatory components are generated by the system by default, and the optional components are selected by the contract drafter according to the content of the contract; Step E2: Adjust contract parameters; the contract compiler modifies the input parameters of each component in the selected component according to the contract content; Step E3: The contract construction submodule generates an electronic contract using the contract construction rules according to the components selected and the parameters input by the contract compiler; Step E4: Test the contract; the contract preparer performs a settlement calculation test on the generated contract and inputs the estimated settlement parameters. The system performs calculations based on the settlement parameters, base price, variables and deduction clauses to test the correctness of the contract preparation.
8. The contract settlement management system according to claim 2, It is characterized in that The specific steps of generating an electronic contract based on a contract template include: Step F1: Select a contract template; the contract preparer selects the corresponding contract template according to the characteristics of the contract to be created, and constructs a contract submodule to generate a contract based on the contract template; Step F2: Adjust parameters according to contract agreement; the contract preparation personnel adjust the parameters of the relevant information items of the contract agreement based on the contract generated by the contract template according to the agreement of the actual contract; Step F3: Generate an electronic contract; the contract drafter tests the correctness of the contract, and generates an electronic contract after the test passes.
9. The contract settlement management system according to claim 1, It is characterized in that The quality management process of the quality management module includes: Step C1: Collect quantity data; collect detailed data of automobile scale measurement and detailed data of train weighing measurement through the data collection interface; Step C2: Collect quality data; collect test indicators from various test instruments and equipment through the data collection interface and generate a test report; Step C3: Batch management of quantity and quality data: associate the quantity data and quality data of the same batch to form quantity data and quality data in batch units.
10. The contract settlement management system according to claim 1, It is characterized in that The calculation process of the calculation engine module includes: Step D1: Obtain data; according to the input contract number and batch list, obtain the contract information and quantity and quality information required for calculation; Step D2: Generate a formula; adopt the RETE algorithm, take the rules in the contract information as the rule set, take the single settlement basis and data as the instance, match the instance with the rule set, combine and generate the formula for this calculation, and assign actual values to the variables therein; Step D3: Calculate the formula; calculate the generated formulas one by one according to the calculation rules to obtain specific calculation results.
Citation Information
Cited By
Settlement processing system and method
CN119273475A
