Quality inspection settlement scheme determination method and device, medium and equipment

Through independent settlement templates and formula analysis engines, the flexibility and complexity of existing quality inspection and settlement software are solved, flexible definition of quality inspection and settlement rules and clear calculation process are realized, and user experience and rule reusability are improved.

CN120494915APending Publication Date: 2025-08-15INSPUR GENERSOFT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510754524.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-06
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

The existing quality inspection and settlement software cannot adapt to the quality inspection and settlement of multiple materials, and is low in flexibility, unable to support complex multi-step calculations and multi-inspection project results, and the operation and maintenance cost is high when the rules are adjusted.

Method used

It adopts independent settlement template definitions to abstract quality inspection items, project indicators and business indicators, combine with formula analysis engines, supports multi-step calculations and complex formula conditions, and realizes flexible settlement rules definitions.

Benefits of technology

It improves the flexibility and reusability of rules, reduces the workload of rules maintenance, and is clear and verified in the calculation process, adapts to more complex settlement scenarios, improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120494915A_ABST
    Figure CN120494915A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of quality inspection settlement data processing, and provides a quality inspection settlement scheme determination method and device, a medium and equipment. The method comprises the following steps: acquiring a current material attribute, calling a settlement template matched with the current material attribute from a material settlement database, and determining a quality inspection item, an item index and a business index in the settlement template; calling a settlement rule predefined by a quality inspection item, an item index and a business index in a settlement template matched with the current material attribute from a rule database; a formula analysis engine is called and used for processing settlement rules predefined by current material information, quality inspection results and quality inspection items, item indexes and business indexes in a settlement template, and quality inspection settlement sheet information is obtained. The formula analysis engine can support various complex multi-step calculation scenes; calculation results of different process indexes can also be listed in the settlement sheet, so that the calculation process is clearer and checkable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of quality inspection and settlement data processing, and in particular relates to a method, device, medium and equipment for determining a quality inspection and settlement plan. Background Art

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

[0003] During the raw material procurement process, pricing for some raw materials (such as ores and agricultural products) is often determined based on quality inspection results. Prices typically fluctuate within a base price based on various quality inspection indicators. Furthermore, the current procurement process, from delivery scheduling, factory registration, weighing, sampling and quality inspection, to warehousing, is now fully managed through information systems. For quality-based pricing, traditional methods rely on offline manual calculations or Excel spreadsheets. This method is inefficient, prone to errors, and lacks integration with system data. The calculation process itself is also missing from the settlement results, making it difficult to visually review the calculation process.

[0004] To address the problems of traditional offline manual or Excel calculation methods, existing technologies provide dedicated quality inspection and settlement software. Existing quality inspection and settlement software mainly includes customized quality inspection and settlement software and general quality inspection and settlement software. However, these two types of quality inspection and settlement software still have the following problems: (1) Customized quality inspection and settlement software is customized and developed for the settlement rules of specific materials. It cannot meet the quality inspection and settlement requirements of a variety of different materials. It has low flexibility and the software program needs to be modified when the settlement rules are adjusted, resulting in high subsequent operation and maintenance costs.

[0005] (2) General quality inspection settlement software is a general settlement rule definition software set for different materials. However, it generally only supports simple formula definitions and cannot support various conditional formulas and complex multi-step calculation rule definitions. The logic is relatively rigid and is only suitable for scenarios where weight or price deductions are calculated based on the direct results of different quality inspection items. It cannot support scenarios where multi-level calculations and results of multiple inspection items are interrelated. Summary of the Invention

[0006] In order to solve the above technical problems, the present invention provides a method, device, medium and equipment for determining a quality inspection and settlement plan, which can support various complex multi-step calculation scenarios. The calculation results of different process indicators can also be listed in the settlement statement, making the calculation process clearer and verifiable.

[0007] In order to achieve the above object, the present invention adopts the following technical solutions: A first aspect of the present invention provides a method for determining a quality inspection and settlement plan.

[0008] In one or more embodiments, a method for determining a quality inspection and settlement plan is provided, including: Obtain the current material attributes, retrieve the settlement template that matches the current material attributes from the material settlement database, and determine the quality inspection items, project indicators, and business indicators in the settlement template; Retrieve the pre-defined settlement rules for quality inspection items, project indicators, and business indicators from the settlement template that match the current material attributes from the rule database; The formula parsing engine is called and used to process the current material information, quality inspection results, and the pre-defined settlement rules for the quality inspection items, project indicators, and business indicators in the settlement template to obtain the quality inspection settlement document information.

[0009] As an implementation method, the quality inspection settlement document information generates corresponding settlement document formats according to different settlement templates, and is integrated with the downstream ERP inventory to form warehousing document information.

[0010] As an implementation manner, a settlement template is pre-stored in the material settlement database, and is stored in association with material attributes.

[0011] As an implementation manner, settlement rules are pre-stored in the rule database, and the settlement rules are pre-matched and associated with the quality inspection items, project indicators and business indicators in the settlement template.

[0012] As an implementation manner, in the rule database, the settlement rule includes a calculation formula and a formula condition.

[0013] As an implementation method, in the rule database, the calculation formula includes a direct formula and a gradient formula; the direct formula defines the relevant calculation formula through an expression editor, and the gradient formula is based on the associated indicator. When it increases or decreases a certain amount based on a baseline value, the corresponding indicator will increase or decrease a certain amount on a certain baseline value at the same time.

[0014] As an implementation method, in the rule database, the formula condition includes maintenance items such as condition indicators, comparison operators and comparison values, and supports multiple condition combinations, where the condition indicators are indicators in the same project or different projects other than the current indicator.

[0015] A second aspect of the present invention provides a device for determining a quality inspection and settlement plan.

[0016] In one or more embodiments, a device for determining a quality inspection and settlement plan includes: The settlement template module is used to obtain the current material attributes, retrieve the settlement template that matches the current material attributes from the material settlement database, and determine the quality inspection items, project indicators, and business indicators in the settlement template; The settlement rules module is used to retrieve the pre-defined settlement rules for quality inspection items, project indicators, and business indicators in the settlement template that match the current material attributes from the rules database; The Quality Inspection Settlement Document module is used to call the formula parsing engine and use it to process the current material information, quality inspection results, and the pre-defined settlement rules for the quality inspection items, project indicators, and business indicators in the settlement template to obtain quality inspection settlement document information.

[0017] A third aspect of the present invention provides a computer-readable storage medium.

[0018] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps in the method for determining a quality inspection and settlement plan as described above.

[0019] A fourth aspect of the present invention provides an electronic device.

[0020] An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the method for determining a quality inspection and settlement plan as described above are implemented.

[0021] Compared with the prior art, the present invention has the following beneficial effects: (1) The present invention originality abstracts the settlement template definition. Compared with the traditional implementation with only one layer of settlement rule definition, the independent settlement template definition can decouple the relatively stable inspection items and calculation indicators in the settlement process from the formulas that change more frequently, thus reducing the maintenance workload of the new rules when daily rules are changed. Moreover, in the case that the enterprise has different specifications or different suppliers, the material rule pattern is the same but the formula correlation coefficient is different, the independent template definition can adapt multiple rules to one template, thereby increasing the reusability of the rules.

[0022] (2) The present invention originality abstracts the definition of project indicators and business indicators. Compared with the traditional implementation of the rule mode that directly defines the weight deduction and price deduction formula, it adds the definition of project indicators and business indicators, improves the flexibility of the rules, can adapt to more complex settlement scenarios, and supports the definition of some intermediate indicators, making the rule definition process more organized and close to the offline support rule text description. The final settlement order calculation process is also clearer, which is convenient for verification and confirmation with the supplier.

[0023] (3) The present invention provides an indicator formula definition model that supports defining multiple formulas for one indicator and setting corresponding formula conditions. It also provides a comprehensive formula condition definition model and a gradient formula definition model. The configuration is simple and easy to use, and it is easy to directly convert the configuration into a rule description text, which is convenient for checking the accuracy of the rule definition.

[0024] (4) The indicator calculation formula and condition definition of the present invention support references to other indicators of the project and indicator values of other projects. Compared with the traditional mode of calculating weight and price deductions based on the quality inspection results of the project, it is adaptable to more complex calculation scenarios, such as multi-step calculations. Moreover, the quality inspection settlement form of the present invention dynamically displays relevant quality inspection items and settlement indicators based on the settlement template, realizing one function adapting to different settlement form templates, reducing the workload of interface configuration and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The accompanying drawings, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0026] Figure 1 1 is a flow chart of a method for determining a quality inspection and settlement plan according to an embodiment of the present invention; Figure 2 2 is a schematic diagram of the structure of a device for determining a quality inspection and settlement plan according to an embodiment of the present invention; Figure 3 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0028] It should be noted that the following detailed descriptions are illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which the present invention belongs.

[0029] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, they indicate the presence of features, steps, operations, devices, components and / or combinations thereof.

[0030] During corporate procurement or sales, the value of specific goods is often influenced by their quality grade, making it difficult to set a unified price. Instead, settlement prices are dynamically issued based on quality inspection results and relevant pricing standards. Currently, companies have a high level of informatization, with weighing, quality inspection, and warehouse management generally registered through software systems. However, because quality-based pricing rules vary significantly for different materials, this process is generally performed through offline manual calculations, which is inefficient and lacks transparency.

[0031] Currently, some companies with a single material have implemented automated calculation software for quality inspection and settlement through customized development. The advantage of this customized development solution is that it can fully adapt to the quality inspection and settlement needs of specific scenarios, solving the company's demand for automated quality inspection, pricing and settlement, and improving the efficiency and accuracy of corporate procurement settlement. However, this software generally only applies to the settlement standards of specific materials at a specific company and is not universal. It cannot be applied to other materials or other materials if the rules are adjusted. Customized software is generally only applicable to specific scenarios, such as the pricing rules of specific materials at a specific company, and cannot be extended to other materials or other companies. Each material requires dedicated customized development, which results in high development costs and low flexibility.

[0032] Currently, there are some general-purpose software in the industry used for quality-based pricing calculations. Compared with customized special software, these software provide the function of maintaining relevant calculation formulas according to the standards of different testing items. However, most software logic is relatively rigid and is only applicable to scenarios where weight or price deductions are calculated based on the direct results of different quality inspection items. It cannot support scenarios where multi-level calculations or results of multiple inspection items are interrelated.

[0033] Figure 1 FIG. 1 is a flow chart of a method for determining a quality inspection and settlement plan in an embodiment of the present invention. Figure 1 The quality inspection settlement plan determination method in this embodiment shown may include the following steps S101 to S103.

[0034] The specific implementation process of steps S101 to S103 is as follows: Step S101: Acquire the current material attributes, retrieve a settlement template that matches the current material attributes from the material settlement database, and determine the quality inspection items, project indicators, and business indicators in the settlement template.

[0035] It should be noted here that the material properties can be determined based on the actual material information, for example, the material is phosphate rock.

[0036] A settlement template is pre-stored in the material settlement database and is stored in association with material attributes.

[0037] Settlement templates are used to define the factors involved in quality-based price settlement for specific materials, primarily related quality inspection items and various indicators in the settlement information calculation process.

[0038] Quality inspection items, project indicators, and business indicators are all configured based on pre-set conditions, and the corresponding specific indicators can be selected based on actual conditions. Settlement templates also record information such as the settlement template number, effective status, name, creator, creation time, modifier, and modification time.

[0039] Quality inspection items define the inspection items involved in the actual quality inspection process of materials that are related to the final settlement.

[0040] Project indicators refer to all process indicators related to the final settlement results associated with a specific project, such as inspection results and price deductions. Currently, quality inspection and settlement software on the market generally does not have the concept of project indicators, but directly defines the weight or price deduction formula for each project. This invention defines the concept of indicators and supports the flexible definition of custom indicators and process indicators to cope with more complex calculation scenarios. For example, project indicators include but are not limited to inspection results, price deductions, weight deductions, and price deductions.

[0041] Business indicators refer to other process indicators not associated with specific items during the settlement process, such as final unit price, weight, price discount, and weight discount. Similar to project indicators, this invention conceptually defines business indicators to address the need for multi-step calculations to reflect process variables. For example, business indicators include but are not limited to weight deduction, price deduction, original weight, standard price, and calculated price.

[0042] The independent settlement template definition of this embodiment can decouple the relatively stable inspection items and calculation indicators in the settlement process from the formulas that change more frequently, reducing the maintenance workload of new rules when daily rules change; and in scenarios where the enterprise has different specifications or different suppliers, where the material rule patterns are the same but the formula correlation coefficients are different, the independent template definition can adapt one template to multiple rules, thereby increasing the reusability of the rules.

[0043] Compared to the traditional rule model that directly defines weight and price deduction formulas, this embodiment's innovative abstract project and business indicator definitions increase the flexibility of the rules, allowing them to adapt to more complex settlement scenarios. Furthermore, support for defining some intermediate indicators makes the rule definition process more organized and closer to offline rule text descriptions. The final settlement form calculation process is also clearer, facilitating verification and confirmation with suppliers.

[0044] Step S102: Retrieve pre-defined settlement rules for quality inspection items, project indicators, and business indicators in a settlement template that matches the current material attributes from a rule database.

[0045] In step S102, settlement rules are pre-stored in the rule database, and the settlement rules are pre-matched and associated with the quality inspection items, project indicators and business indicators in the settlement template.

[0046] The following defines the specific settlement rules, including the value selection method (manual entry or formula calculation) for each project indicator and business indicator in the template.

[0047] Among them, indicator formulas support defining different formulas according to different conditions. Each conditional formula consists of two parts: the formula condition and the calculation formula. Formula conditions include maintenance items such as conditional indicators, comparison operators, and comparison values. Multiple condition combinations (and / or) are supported. Conditional indicators refer to indicators of the same or different items in addition to the current indicator. For example, if the quality inspection result of the Arsenic Content quality inspection item is greater than 3 and less than or equal to 4, it will be used as the price deduction indicator for the Arsenic Content item. In this case, the formula condition should be maintained in the price deduction indicator formula for the Arsenic Content item, with the conditional indicator being the quality inspection result for the Arsenic Content item.

[0048] The calculation formula refers to the calculation formula of this indicator under specific formula conditions. There are two types: direct formula and gradient formula. The direct formula defines the relevant calculation formula through the expression editor, while the gradient formula is based on the associated indicator (generally the same as the conditional indicator) and increases or decreases a certain amount based on a certain baseline value. In this case, the indicator will increase or decrease a certain amount on a certain baseline value.

[0049] To support more complex computing scenarios, the present invention also designs an expression editor for editing related formulas, supports the introduction of other indicator values for conventional arithmetic operations, provides commonly used data processing functions, and supports the writing of conditional branch expressions.

[0050] In the indicator formula editor interface, you can add new formulas, import other indicator formulas, delete formulas, preview formulas, and perform other operations.

[0051] The configuration interface of the conditional expression shows the required items, such as indicator, comparison operator and comparison value, and the rest of the items are optional.

[0052] Formula editor, you can select different corresponding models and functions according to different indicators.

[0053] For example, the formula type can be selected from either direct formula or gradient formula. When direct formula is selected, the expression editor can be used for direct editing. When selecting a gradient formula, you can configure it based on the corresponding base value, gradient value, indicator, direction, target direction, and target value options.

[0054] This embodiment provides an indicator formula definition model that supports defining multiple formulas for one indicator and setting corresponding formula conditions, a comprehensive formula condition definition model, and a gradient formula definition model. The configuration is simple and easy to use, and it is easy to directly convert it into a rule description text through configuration, which is convenient for checking the accuracy of the rule definition.

[0055] The indicator calculation formula and condition definition of this embodiment support referencing other indicators of this project and indicator values of other projects. Compared with the traditional model of calculating weight and price deductions based on the quality inspection results of this project, it is adaptable to more complex calculation scenarios, such as multi-step calculations.

[0056] Step S103: The formula parsing engine is called and used to process the current material information, quality inspection results, and the pre-defined settlement rules of the quality inspection items, project indicators, and business indicators in the settlement template to obtain quality inspection settlement document information.

[0057] The quality inspection settlement document requires the introduction or entry of pre-condition data (goods information, quality inspection results, etc.). The core of the document is to calculate the relevant settlement indicator results based on the defined settlement rules through the rule parsing engine to form the final quality inspection settlement document information.

[0058] The quality inspection settlement document provides the corresponding settlement type, quantity, and settlement details. The settlement details include the business document number, business document date, batch number, original weight, quality inspection deduction weight, settlement weight, original price, quality inspection deduction price, settlement unit price, and settlement amount.

[0059] In an embodiment of the present invention, the quality inspection settlement document information generates corresponding settlement document formats according to different settlement templates, and is integrated with the downstream ERP inventory to form warehousing document information.

[0060] The quality inspection settlement form of this embodiment dynamically displays relevant quality inspection items and settlement indicators based on the settlement template, realizing that one function is adapted to different settlement form templates, reducing the workload of interface configuration and improving user experience.

[0061] like Figure 2 As shown, the quality inspection settlement plan determination device provided in the embodiment of the present invention can be implemented in a software manner, and the quality inspection settlement plan determination device includes the following software modules: a settlement template module 201, a settlement rule module 202 and a quality inspection settlement order module 203.

[0062] The following is an introduction to the functions of each software module in the quality inspection and settlement plan determination device: The settlement template module 201 is used to obtain the current material attributes, retrieve the settlement template that matches the current material attributes from the material settlement database, and determine the quality inspection items, project indicators and business indicators in the settlement template.

[0063] It should be noted here that the material properties can be determined based on the actual material information, for example, the material is phosphate rock.

[0064] A settlement template is pre-stored in the material settlement database and is stored in association with material attributes.

[0065] Settlement templates are used to define the factors involved in quality-based price settlement for specific materials, primarily related quality inspection items and various indicators in the settlement information calculation process.

[0066] Quality inspection items, project indicators, and business indicators are all configured based on pre-set conditions, and the corresponding specific indicators can be selected based on actual conditions. The settlement template also records information such as the settlement template number, effective status, name, creator, creation time, modifier, and modification time.

[0067] Quality inspection items define the inspection items involved in the actual quality inspection process of materials that are related to the final settlement.

[0068] Project indicators refer to all process indicators related to the final settlement results associated with a specific project, such as inspection results and price deductions. Currently, quality inspection and settlement software on the market generally does not have the concept of project indicators, but directly defines the weight or price deduction formula for each project. This invention defines the concept of indicators and supports the flexible definition of custom indicators and process indicators to cope with more complex calculation scenarios. For example, project indicators include but are not limited to inspection results, price deductions, weight deductions, and price deductions.

[0069] Business indicators refer to other process indicators not associated with specific items during the settlement process, such as final unit price, weight, price discount, and weight discount. Similar to project indicators, this invention conceptually defines business indicators to address the need for multi-step calculations to reflect process variables. For example, business indicators include but are not limited to weight deduction, price deduction, original weight, standard price, and calculated price.

[0070] The settlement rule module 202 is used to retrieve the pre-defined settlement rules of quality inspection items, project indicators and business indicators in the settlement template that matches the current material attributes from the rule database.

[0071] Settlement rules are pre-stored in the rule database, and the settlement rules are pre-matched and associated with the quality inspection items, project indicators and business indicators in the settlement template.

[0072] The following defines the specific settlement rules, including the value selection method (manual entry or formula calculation) for each project indicator and business indicator in the template.

[0073] Among them, indicator formulas support defining different formulas according to different conditions. Each conditional formula consists of two parts: the formula condition and the calculation formula. Formula conditions include maintenance items such as conditional indicators, comparison operators, and comparison values. Multiple condition combinations (and / or) are supported. Conditional indicators refer to indicators of the same or different items in addition to the current indicator. For example, if the quality inspection result of the Arsenic Content quality inspection item is greater than 3 and less than or equal to 4, it will be used as the price deduction indicator for the Arsenic Content item. In this case, the formula condition should be maintained in the price deduction indicator formula for the Arsenic Content item, with the conditional indicator being the quality inspection result for the Arsenic Content item.

[0074] The calculation formula refers to the calculation formula of this indicator under specific formula conditions. There are two types: direct formula and gradient formula. The direct formula defines the relevant calculation formula through the expression editor, while the gradient formula is based on the associated indicator (generally the same as the conditional indicator) and increases or decreases a certain amount based on a certain baseline value. In this case, the indicator will increase or decrease a certain amount on a certain baseline value.

[0075] To support more complex computing scenarios, the present invention also designs an expression editor for editing related formulas, supports the introduction of other indicator values for conventional arithmetic operations, provides commonly used data processing functions, and supports the writing of conditional branch expressions.

[0076] In the indicator formula editor interface, you can add new formulas, import other indicator formulas, delete formulas, preview formulas, and perform other operations.

[0077] The configuration interface of the conditional expression shows the required items, such as indicator, comparison operator and comparison value, and the rest of the items are optional.

[0078] Formula editor, you can select different corresponding models and functions according to different indicators.

[0079] For example, the formula type can be selected from either direct formula or gradient formula. When direct formula is selected, the expression editor can be used for direct editing. When selecting a gradient formula, you can configure it based on the corresponding base value, gradient value, indicator, direction, target direction, and target value options.

[0080] The quality inspection settlement form module 203 is used to call the formula parsing engine and use it to process the current material information, quality inspection results and the pre-defined settlement rules of the quality inspection items, project indicators and business indicators in the settlement template to obtain quality inspection settlement form information.

[0081] The quality inspection settlement document requires the introduction or entry of pre-condition data (goods information, quality inspection results, etc.). The core of the document is to calculate the relevant settlement indicator results based on the defined settlement rules through the rule parsing engine to form the final quality inspection settlement document information.

[0082] The quality inspection settlement document provides the corresponding settlement type, quantity, and settlement details. The settlement details include the business document number, business document date, batch number, original weight, quality inspection deduction weight, settlement weight, original price, quality inspection deduction price, settlement unit price, and settlement amount.

[0083] In an embodiment of the present invention, the quality inspection settlement document information generates corresponding settlement document formats according to different settlement templates, and is integrated with the downstream ERP inventory to form warehousing document information.

[0084] The structure of the electronic device according to the embodiment of the present invention is described in detail below. Figure 3 The schematic diagram of the structure of the electronic device provided in the embodiment of the present invention can be understood as follows: Figure 3 Only exemplary structures of the electronic device are shown, not all structures. Part or all of the shown structures may be implemented as needed.

[0085] The electronic device provided in the embodiment of the present invention includes: at least one processor 301, a memory 302, a user interface 303 and at least one network interface 304. The various components in the quality inspection and settlement plan determination device are coupled together through a bus system 305. It can be understood that the bus system 305 is used to realize the connection and communication between these components. In addition to including a data bus, the bus system 305 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 3 Various buses are labeled as bus system 305 .

[0086] The user interface 303 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch pad or a touch screen.

[0087] It will be appreciated that the memory 302 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. The memory 302 in the embodiment of the present invention can store data to support the operation of the terminal. Examples of such data include any computer program used to operate on the terminal, such as an operating system and application programs. The operating system includes various system programs, such as a framework layer, a core library layer, and a driver layer, which are used to implement various basic services and handle hardware-based tasks. The application program may include various application programs.

[0088] In some embodiments, the quality inspection and settlement plan determination apparatus 300 provided in the embodiments of the present invention can be implemented using a combination of software and hardware. As an example, the quality inspection and settlement plan determination apparatus 300 provided in the embodiments of the present invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the quality inspection and settlement plan determination method provided in the embodiments of the present invention. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.

[0089] As an example, the processor 301 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0090] As an example of hardware implementation of the quality inspection and settlement plan determination device 300 provided in an embodiment of the present invention, the device provided in an embodiment of the present invention can be directly executed by a processor 301 in the form of a hardware decoding processor. For example, one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components are executed to implement the quality inspection and settlement plan determination method provided in an embodiment of the present invention.

[0091] The memory 302 in the embodiment of the present invention is used to store various types of data to support the operation of the quality inspection settlement plan determination device, or to store data for executing Figure 1 Examples of such data include any executable instructions for operating on a quality inspection and settlement plan determination device, such as executable instructions. A program implementing the quality inspection and settlement plan determination method of an embodiment of the present invention may be included in the executable instructions.

[0092] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer readable medium, the computer program including a computer program for executing Figure 1 In such an embodiment, the computer program can be downloaded and installed from a network via the communication portion and / or installed from a removable medium. When the computer program is executed by the central processing unit, the various functions defined in the apparatus of the present application are performed.

[0093] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products of the embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams and the combination of processes and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0094] The foregoing description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be within the scope of protection of the present invention.

Claims

1. A method for generating quality inspection settlement information, characterized in that: include: Obtain the current material attributes, retrieve the settlement template that matches the current material attributes from the material settlement database, and determine the quality inspection items, project indicators, and business indicators in the settlement template; Retrieve the pre-defined settlement rules for quality inspection items, project indicators, and business indicators from the settlement template that match the current material attributes from the rule database; The formula parsing engine is called and used to process the current material information, quality inspection results, and the pre-defined settlement rules for the quality inspection items, project indicators, and business indicators in the settlement template to obtain the quality inspection settlement document information.

2. The method for determining a quality inspection and settlement plan according to claim 1, wherein: The quality inspection settlement document information generates corresponding settlement document formats according to different settlement templates, and is integrated with the downstream ERP inventory to form warehousing document information.

3. The method for determining a quality inspection and settlement plan according to claim 1, wherein: The material settlement database pre-stores a settlement template, which is stored in association with material attributes.

4. The method for determining a quality inspection and settlement plan according to claim 1, wherein: The rule database pre-stores settlement rules, which are pre-matched and associated with the quality inspection items, project indicators, and business indicators in the settlement template.

5. The method for determining a quality inspection and settlement plan according to claim 1, wherein: In the rule database, the settlement rules include calculation formulas and formula conditions.

6. The method for determining a quality inspection and settlement plan according to claim 5, wherein: In the rule database, the calculation formula includes a direct formula and a gradient formula; the direct formula defines the relevant calculation formula through an expression editor, and the gradient formula is based on the associated indicator. When it increases or decreases a certain amount based on a baseline value, the corresponding indicator will increase or decrease a certain amount on a certain baseline value at the same time.

7. The method for determining a quality inspection and settlement plan according to claim 5, wherein: In the rule database, the formula conditions include maintenance items such as condition indicators, comparison operators and comparison values, and support multiple condition combinations, where the condition indicators are indicators in the same project or different projects other than the current indicator.

8. A device for determining a quality inspection and settlement plan, characterized in that: include: The settlement template module is used to obtain the current material attributes, retrieve the settlement template that matches the current material attributes from the material settlement database, and determine the quality inspection items, project indicators, and business indicators in the settlement template; The settlement rules module is used to retrieve the pre-defined settlement rules for quality inspection items, project indicators, and business indicators in the settlement template that match the current material attributes from the rules database; The Quality Inspection Settlement Document module is used to call the formula parsing engine and use it to process the current material information, quality inspection results, and the pre-defined settlement rules for the quality inspection items, project indicators, and business indicators in the settlement template to obtain quality inspection settlement document information.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the quality inspection and settlement plan determination method according to any one of claims 1 to 7 are implemented.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the quality inspection and settlement plan determination method according to any one of claims 1 to 7 are implemented.