Material field adaptive configuration method and device

By automatically identifying and updating material fields and their relationships, the inefficiency caused by manual adjustments in traditional material field management is solved, achieving efficient and accurate material field configuration and reducing the risk of errors.

CN121209739BActive Publication Date: 2026-03-03蒲惠智造科技股份有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202511767480.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-11-28
Publication Date
2026-03-03
Estimated Expiration
2045-11-28

AI Technical Summary

Technical Problem

In the traditional material field management model, material fields are closely tied to downstream business operations. Modifying a certain parameter requires engineers to manually adjust the data of all related business operations, resulting in low configuration efficiency.

Method used

By receiving material configuration requests submitted by users, the system automatically identifies the material fields to be adjusted and their relationships, and automatically updates the logical parameters of all affected related material fields and business processes based on the relationships. By utilizing the pre-configured material field relationship graph and field-business process mapping table, the system can quickly locate the material fields and business processes that need to be adjusted synchronously.

Benefits of technology

It improves the efficiency and accuracy of material field configuration, reduces the risk of errors caused by manual operation by engineers, and enhances work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121209739B_ABST
    Figure CN121209739B_ABST
Patent Text Reader

Abstract

The application discloses a material field self-adaptive configuration method and device, the method comprises the following steps: receiving a material configuration request submitted by a user, the material configuration request carries a material type of a material to be updated; obtaining a material template to be updated corresponding to the material type of the material to be updated from a mapping relationship between material types and material templates stored in a preset material template library, the material template to be updated comprises a plurality of default material fields and an association relationship between the default material fields; in response to a field adjustment instruction for the material template to be updated, storing an updated material template and determining a material field to be adjusted; determining a plurality of associated material fields to be synchronously adjusted with the material field to be adjusted and an affected business process according to the association relationship between the default material fields; and automatically updating logical parameters of the plurality of associated material fields and the affected business process. Therefore, by using the embodiment of the application, the material field can be quickly configured, so that the configuration efficiency of the material field is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of digital management technology, and in particular to a method and apparatus for adaptive configuration of material fields. Background Technology

[0002] In modern manufacturing enterprises, product iterations are frequent and market demands are constantly changing. Companies need to respond quickly to market changes and adjust product design, procurement, production, and sales processes accordingly. For example, in the automotive manufacturing industry, with the rapid development of new energy vehicles, companies need to frequently update the specifications, materials, and performance parameters of automotive parts to meet new technical standards and customer needs. In this scenario, the flexibility and accuracy of material data are crucial to a company's competitiveness.

[0003] In related technologies, manufacturing enterprises typically employ a traditional integrated management model for material field management. In this model, material fields (such as specifications, materials, and precision grades) are tightly bound to downstream business processes (such as BOM lists, production processes, purchase contracts, and inventory records). Modifying a single parameter requires engineers to manually adjust data across all related business processes, resulting in a "change in one place affects the whole system" situation. For example, if an engineer modifies the specification of a component, they need to manually reconfigure parameters in multiple downstream processes, including the BOM list, production processes, purchase contracts, and inventory records, thus reducing the efficiency of material field configuration. Summary of the Invention

[0004] This application provides a method and apparatus for adaptive configuration of material fields. To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general description, nor is it intended to identify key / important components or describe the scope of protection of these embodiments. Its sole purpose is to present some concepts in a simple form as a prelude to the detailed description that follows.

[0005] In a first aspect, embodiments of this application provide a method for adaptive configuration of material fields, the method comprising:

[0006] Receive material configuration requests submitted by users, which carry the material type of the material to be updated;

[0007] From the mapping relationship between material types and material templates stored in the preset material template library, obtain the material template to be updated corresponding to the material type of the material to be updated. The material template to be updated includes multiple default material fields and the association relationship between the default material fields.

[0008] In response to a field adjustment instruction for a material template to be updated, the updated material template is stored and the material fields to be adjusted are determined.

[0009] Based on the default relationships between material fields, identify the multiple related material fields that need to be adjusted synchronously with the material field to be adjusted, and the affected business processes;

[0010] Automated updates of multiple related material fields and logical parameters of affected business processes.

[0011] Optionally, the method also includes:

[0012] In response to a user's request to create a business document, the target material template is retrieved from the mapping relationship. The target material template includes multiple target material fields.

[0013] Based on pre-configured control rules, the first material field constrained by the system and the second material field that can be flexibly adjusted are determined among multiple target material fields;

[0014] Retrieve the parameter value that matches the first material field from the material master data stored in the system;

[0015] Receive user-defined parameter values ​​for the second material field;

[0016] The parameter values ​​that match the first material field and the parameter values ​​that the user has customized for the second material field are stored in the target material template to obtain the target document. The material fields and their parameter values ​​stored in the target document are set to remain unchanged.

[0017] Optionally, store the updated material template, including:

[0018] The user submits the temporary material field to the system corresponding to the detection field adjustment instruction, and obtains the list of temporary material fields to be confirmed. The list of temporary material fields to be confirmed includes detailed information of all detected temporary materials.

[0019] When an abnormal material field that does not conform to preset rules or standards is detected, an abnormal signal for the abnormal material field is generated.

[0020] Generate collaborative tasks based on the temporary list of materials to be confirmed; generate exception handling tasks based on exception signals.

[0021] Push collaborative tasks and exception handling tasks to the client of the collaborative processing department;

[0022] Receive task processing results from the client;

[0023] Based on the task processing results, update the field status of the temporary material field to obtain the updated material template; store the updated material template in the preset material template library.

[0024] Optionally, based on the default relationships between material fields, identify multiple related material fields that need to be adjusted synchronously with the material field to be adjusted, and the affected business processes, including:

[0025] Construct a graph of material field relationships corresponding to the material template to be updated; the nodes in the graph represent material fields, and the edges represent the dependencies between material fields.

[0026] The material field to be adjusted is taken as the focus node, and the material field relationship graph is traversed to obtain the material fields that depend on the focus node and the material fields that the focus node depends on, which are taken as the set of directly related fields.

[0027] Each directly related field in the directly related field set is re-established as the focus node, and the step of traversing along the directed graph is continued until there are no material fields that depend on the focus node or are depended on by the focus node. This yields the complete set of related fields corresponding to the material field to be adjusted, which serves as multiple related material fields that need to be adjusted synchronously with the material field to be adjusted.

[0028] Retrieve the preset field-business process mapping table, which is used to represent the business process that uses each material field;

[0029] From the preset field-business process mapping table, obtain the business process of each complete related field in the complete related field set, which is the affected business process that needs to be adjusted synchronously with the material field to be adjusted.

[0030] Optionally, construct a graph of the relationships between the material fields corresponding to the material template to be updated, including:

[0031] Initialize the initial graph used to store material fields and their relationships. In the initial graph, the initial nodes represent material fields, and the initial edges represent the dependencies between material fields.

[0032] For each initial node, a data structure is defined including the name, type, and default value attributes of the material field. For each initial edge, a data structure is defined including the start field, end field, and dependency relationship to obtain the backup graph.

[0033] Extract all default material fields from the material template to be updated;

[0034] Based on the preset material field association rules, determine the dependencies between all default material fields;

[0035] Based on the data structure, each default material field is added to the standby graph, and based on the dependencies between all default material fields, edges are set for each pair of related material fields.

[0036] When the edge attributes are not duplicated or the dependencies do not conflict, a backup graph with default material fields and edges will be added as the material field association graph corresponding to the material template to be updated.

[0037] Optionally, based on dependencies, retrieve the material fields that depend on the focus node and the material fields that the focus node depends on, including:

[0038] Create the first set of material fields that depend on the focus node, and the second set of material fields that the focus node depends on;

[0039] Determine whether the endpoint and start point of the edge corresponding to the dependency relationship are focus nodes;

[0040] If the endpoint of an edge is a focus node, add the material field corresponding to the starting point of the edge to the first material field set; or,

[0041] If the starting point of an edge is a focus node, add the material field corresponding to the ending point of the edge to the second material field set;

[0042] When the traversal is complete, all material fields added to the first material field set are treated as material fields dependent on the focus node, and all material fields added to the second material field set are treated as material fields dependent on the focus node.

[0043] Optionally, the preset field-business process mapping table includes the correspondence between material fields and multiple business processes;

[0044] From the preset field-business process mapping table, retrieve the business process for each complete related field in the complete related field set, including:

[0045] Within the corresponding relationship, retrieve the business process for each complete related field in the complete related field set; among which...

[0046] Generate a preset field-business process mapping table by following these steps:

[0047] Iterate through all business processes in the current business system and obtain the attribute information of each business process;

[0048] Based on the attribute information of each business process, extract multiple material fields involved in each business process;

[0049] Iterate through each material field to be stored in the multiple material fields involved in each business process;

[0050] Store the alternative correspondence between each material field to be stored and the corresponding business process, and obtain the preset field-business process mapping table.

[0051] Optionally, automate the updating of multiple related material fields and affected business processes, including:

[0052] Analyze the original dependencies between each associated material field and the material field to be adjusted;

[0053] Parse the field adjustment command to obtain the user's adjustment content for the material field to be adjusted;

[0054] Based on the original dependencies and user-adjusted content, analyze the field value adjustment operations, field type change operations, and deletion operations required for each associated material field to obtain the specific field adjustment requirements for each associated material field;

[0055] Based on the user's adjustments, analyze the types and ranges of input parameters that need to be adjusted in each affected business process, as well as the logical expressions of the judgment conditions, to obtain the specific adjustment requirements for each affected business process.

[0056] Based on specific field and process adjustment requirements, adjust the logical parameters of multiple related material fields and affected business processes.

[0057] Optionally, based on specific field and process adjustment requirements, adjust the logical parameters of multiple related material fields and affected business processes, including:

[0058] When the specific field adjustment request includes field value adjustment operations, update the field value of each associated material field according to the user's adjustment content; or, when the specific field adjustment request includes field type change operations, update the field type attribute of each associated material field; or, when the specific field adjustment request includes deletion operations, delete each associated material field and the field value of each associated material field.

[0059] Replace the logical parameters of the affected business processes with the types and ranges of input parameters and the logical expressions of judgment conditions in the specific adjustment requirements of the processes.

[0060] Secondly, embodiments of this application provide a material field adaptive configuration device, the device comprising:

[0061] The request receiving module is used to receive material configuration requests submitted by users. The material configuration request carries the material type of the material to be updated.

[0062] The template acquisition module is used to obtain the material template to be updated corresponding to the material type of the material to be updated from the mapping relationship between material types and material templates stored in the preset material template library. The material template to be updated includes multiple default material fields and the association relationship between the default material fields.

[0063] The storage module is used to respond to field adjustment instructions for the material template to be updated, store the updated material template, and determine the material fields to be adjusted;

[0064] The determination module is used to determine, based on the default relationships between material fields, multiple related material fields that need to be adjusted synchronously with the material field to be adjusted, and the affected business processes.

[0065] The update module is used to automatically update multiple related material fields and logical parameters of affected business processes.

[0066] The technical solutions provided in this application embodiment may include the following beneficial effects:

[0067] In this embodiment, on the one hand, by receiving material configuration requests submitted by users and obtaining corresponding material templates, the system can automatically identify the material fields to be adjusted and their relationships. Then, based on these relationships, it can automatically update all affected related material fields and logical parameters of business processes, eliminating the need for engineers to manually adjust them one by one. This solves the problem of "changing one thing affects the whole system" in traditional integrated management models, significantly improving the efficiency and accuracy of material field configuration. On the other hand, by pre-configuring a material field relationship graph and a preset field-business process mapping table, where nodes in the graph represent material fields and edges represent dependencies between them, and the mapping table characterizes the business processes using each material field, the system can quickly locate multiple related material fields and affected business processes that need to be adjusted synchronously with the material field to be adjusted. This automated approach avoids engineers manually searching one by one, reducing the risk of errors caused by manual operation and improving work efficiency.

[0068] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0069] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0070] Figure 1 This is a flowchart illustrating a material field adaptive configuration method provided in an embodiment of this application.

[0071] Figure 2 This is a schematic diagram of a UI interface for a material configuration request provided in an embodiment of this application;

[0072] Figure 3 This is a schematic diagram of the UI interface of a material template management center provided in an embodiment of this application;

[0073] Figure 4 This is a schematic diagram of the UI interface of a field association graph provided in an embodiment of this application;

[0074] Figure 5 This is a schematic diagram of a UI interface of an affected business process provided in an embodiment of this application;

[0075] Figure 6 This is a schematic diagram of an approval interface displayed on the client side of a collaborative processing department, as provided in an embodiment of this application.

[0076] Figure 7 This is a schematic flowchart illustrating the process of analyzing associated material fields and affected business processes, as provided in an embodiment of this application.

[0077] Figure 8 This is an overall logical block diagram of a material field adaptive configuration method provided in an embodiment of this application;

[0078] Figure 9 This is a schematic diagram of the structure of a material field adaptive configuration device provided in an embodiment of this application;

[0079] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0080] The following description and accompanying drawings fully illustrate specific embodiments of this application to enable those skilled in the art to practice them.

[0081] It should be understood that the described embodiments are merely some, not all, of the embodiments in this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.

[0082] In the following description, when referring to the accompanying drawings, the same numbers in different drawings denote the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0083] In the description of this application, it should be understood that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances. Furthermore, in the description of this application, unless otherwise stated, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.

[0084] Currently, manufacturing companies typically use a traditional integrated management model for managing material fields.

[0085] The applicant of this application recognized that, under this model, material fields (such as specifications, material type, and precision grade) are tightly bound to downstream business processes (such as BOM lists, production processes, purchase contracts, and inventory records). Modifying a single parameter requires engineers to manually adjust the data of all related business processes, resulting in a situation where "changing one thing affects the whole system." For example, if an engineer modifies the specification parameter of a component, the engineer needs to manually reconfigure parameters in multiple aspects of the downstream business processes, such as BOM lists, production processes, purchase contracts, and inventory records, thereby reducing the efficiency of material field configuration.

[0086] To address the aforementioned issues, this application provides a material field adaptive configuration method and apparatus to resolve the problems existing in the related technologies. In the embodiments of this application, on the one hand, by receiving a material configuration request submitted by a user and obtaining the corresponding material template, the system can automatically identify the material field to be adjusted and its associated relationships. Furthermore, it can automatically update all affected associated material fields and logical parameters of business processes based on these relationships, eliminating the need for engineers to manually adjust them one by one. This solves the problem of "changing one thing affects the whole system" in traditional integrated management models, significantly improving the efficiency and accuracy of material field configuration. On the other hand, by pre-configuring a material field association graph and a preset field-business process mapping table, where nodes in the material field association graph represent material fields and edges represent dependencies between material fields, and the preset field-business process mapping table represents the business processes using each material field, the system can quickly locate multiple associated material fields and affected business processes that need to be adjusted synchronously with the material field to be adjusted. This automated approach avoids engineers manually searching one by one, reducing the risk of errors caused by manual operation and improving work efficiency. The following describes the process in detail using exemplary embodiments.

[0087] The following will be combined with the appendix Figure 1 -Appendix Figure 8This application provides a detailed description of the material field adaptive configuration method provided in its embodiments. This method can be implemented using a computer program and can run on a material field adaptive configuration device based on the von Neumann architecture. This computer program can be integrated into an application or run as a standalone utility application.

[0088] Please see Figure 1 This is a flowchart illustrating a method for adaptive configuration of material fields provided in an embodiment of this application. Figure 1 As shown, the method in this application embodiment includes the following steps:

[0089] S101, Receive the material configuration request submitted by the user. The material configuration request carries the material type of the material to be updated.

[0090] In this system, users are the personnel operating the system, such as material managers or engineers, responsible for configuring and updating material information. A material configuration request is a request submitted by the user through the system interface or other interactive methods, instructing the system to update data for a specific material. The material to be updated is the material that needs configuration updates, typically a specific material entity, such as a component or raw material. For example, a gear with the model number "XYZ123". The material type is a classification identifier used to distinguish different types of materials.

[0091] In some embodiments of this application, engineers can log in to the material management system and access the material configuration module, for example... Figure 2 As shown, engineers can select the materials that need to be updated and fill in or select the material type. After the engineer submits the request, the system captures and processes the request, then parses it to extract the material type of the material to be updated.

[0092] For example, an engineer selects the material to be updated, enters the material code "XYZ123", selects the material type "gear" from the drop-down menu, and selects the relevant constraints. Then, the engineer clicks the "Submit Request" button to submit the material configuration request. Upon receiving the request, the system backend parses the material code to be updated as "XYZ123" and the material type as "gear".

[0093] S102, obtain the material template to be updated corresponding to the material type of the material to be updated from the mapping relationship between material types and material templates stored in the preset material template library. The material template to be updated includes multiple default material fields and the association relationship between the default material fields.

[0094] The preset material template library is a predefined repository used to store material templates corresponding to different material types. The templates in the preset material template library are pre-designed and contain the basic fields of that material category and the relationships between those fields. The mapping relationship between material types and material templates is used to associate each material type with its corresponding material template, allowing the system to quickly find the corresponding template based on the material type. For example, the template is a key-value pair, where the key is the material type (e.g., "gear") and the value is the corresponding template ID or template object. The material type of the material to be updated is the category to which the material belongs, as specified in the material configuration request submitted by the user. For example, if the user submits "gear," then the material type is "gear." The material template to be updated is a template retrieved from the preset material template library based on the material type, used to process the material currently requiring updating. This template contains all the default fields for that material type and the relationships between those fields. Default material fields are predefined fields in each material template; these fields are the basic attributes of that material type, used to describe the characteristics of the material. For example, for the "gear" template, default fields include "specifications," "material," and "precision grade." The default relationships between material fields describe the logical dependencies or associations between them. These relationships determine the mutual influence between fields; for example, modifying one field may affect the values ​​or states of other fields. For instance, changing the value of the "Specifications" field will affect the calculation results of the "Weight" field.

[0095] In some embodiments of this application, a material template library is pre-created in the system to store templates corresponding to different material types. The user interface for managing the material template library is as follows: Figure 3 As shown, each template contains default fields and the relationships between them. In the material template library, a mapping relationship is established for each material type, associating the material type with the corresponding template ID. When a user submits a material configuration request, which includes the material type, the system searches for the corresponding template in the material template library based on the submitted material type. The system then retrieves the template's detailed content based on the template ID, including default fields and the relationships between them. The system displays the retrieved template content on the client side, allowing the user to see and adjust the default fields.

[0096] For example, after receiving a request, the system backend parses the material type as "gear". Based on the material type "gear", it searches for the corresponding template in the preset material template library. The system successfully obtains the gear material template and returns it to the frontend page. The user sees these default fields ("specifications", "material", "precision grade") and their relationships on the page.

[0097] For example, a gear template contains the following:

[0098] {

[0099] "Fields": ["Specifications", "Material", "Precision Grade"],

[0100] "Associations": [

[0101] {"Field1": "Specifications", "Field2": "Weight", "Relation": "Calculation Formula"},

[0102] {"Field1": "Material", "Field2": "Durability", "Relation": "Influence Relationship"} ]

[0104] }

[0105] S103, in response to the field adjustment instruction for the material template to be updated, the updated material template is stored and the material fields to be adjusted are determined;

[0106] The field adjustment command is a command submitted to the system by the user after modifying, adding, or deleting fields in the material template. For example, a user changes the value of the "Specification" field from "10mm" to "12mm" and clicks the "Save" button to submit the command. Saving the updated material template means saving the user-adjusted material template to the system for later use, including saving the new field values ​​and field structure.

[0107] In some embodiments of this application, after a user sees the material template to be updated displayed on the client, the user adjusts the fields of the material template in the system interface. For example, the user modifies the value of the "Specifications" field. After completing the adjustment, the user clicks the "Save" button to submit the field adjustment instruction. The system captures the field adjustment instruction submitted by the user, detects the temporary material fields submitted to the system by the user corresponding to the field adjustment instruction, and obtains a list of temporary material fields to be confirmed. The list of temporary material fields to be confirmed includes detailed information of all detected temporary materials. When an abnormal material field that does not conform to preset rules or standards is detected, an abnormal signal for the abnormal material field is generated. Based on the list of temporary materials to be confirmed, a collaborative task is generated. Based on the abnormal signal, an abnormal handling task is generated. The collaborative task and the abnormal handling task are pushed to the client of the collaborative processing department. The task processing result is received from the client. Based on the task processing result, the field status of the temporary material field is updated to obtain the updated material template. The updated material template is stored in the preset material template library.

[0108] Temporary material fields are fields temporarily submitted by users during the adjustment process, and these fields have not yet been verified and confirmed by the system. Predefined rules or standards are pre-defined field validation rules or standards used to check the legality of fields. For example, field values ​​must conform to a specific format (e.g., date format YYYY-MM-DD), or field types must be within allowed ranges. Abnormal material fields are fields that do not conform to preset rules or standards. For example, a user entering a date value that does not conform to the format (e.g., "2025-13-01"). Abnormal signals are warning or notification signals generated by the system when abnormal material fields are detected. For example, the system generates an error message indicating "Incorrect date format." Collaborative tasks are tasks generated based on a list of temporary material fields to be confirmed, requiring collaboration from multiple departments or personnel. For example, a task requiring the quality control department and the purchasing department to jointly confirm whether a newly added "color" field is reasonable. Abnormal handling tasks are tasks generated based on abnormal signals, used to handle fields that do not conform to the rules. Collaborative processing department clients are client systems used by departments specifically responsible for handling collaborative tasks and abnormal handling tasks. For example, the internal management system used by the quality control department and the purchasing department. Field status refers to the current state of a field, such as "pending confirmation", "confirmed", "abnormal", etc.

[0109] In one possible implementation, the system receives a user-submitted field adjustment instruction, parses the instruction content, and extracts all temporary material fields. For example, if the user adds a "color" field, the system detects this new field. The system generates a list of temporary material fields to be confirmed, recording detailed information for each field. The system checks the newly added "color" field, finds it conforms to the rules, and sets its status to "pending confirmation." Based on the list of fields to be confirmed, the system generates a collaborative task and pushes it to the relevant departments. The result displayed on the client is as follows: Figure 6 As shown. The system generates anomaly handling tasks based on anomaly signals (if anomaly fields exist). Generating collaborative tasks requires the quality control and purchasing departments to confirm the appropriateness of the "color" field. The task is pushed to the internal management systems of the quality control and purchasing departments. The quality control department confirms the "color" field is appropriate, and the purchasing department agrees to add the field. The "color" field status is updated from "Pending Confirmation" to "Confirmed." The system stores the updated material template in the preset material template library.

[0110] S104, Based on the default relationships between material fields, determine the multiple related material fields that need to be adjusted synchronously with the material field to be adjusted, and the affected business processes;

[0111] In some embodiments of this application, the specific process of determining multiple associated material fields that need to be adjusted synchronously with the material field to be adjusted and the affected business processes based on the default association relationships between material fields includes: constructing a material field association relationship graph corresponding to the material template to be updated; the nodes in the material field association relationship graph are material fields, and the edges are dependencies between material fields; taking the material field to be adjusted as the focus node, traversing along the material field association relationship graph to obtain, based on the dependencies, the material fields that depend on the focus node and the material fields that the focus node depends on, as a set of directly associated fields; taking each directly associated field in the set of directly associated fields as the focus node again, and continuing to execute the step of traversing along the directed graph until there are no material fields that depend on the focus node or are depended on by the focus node, obtaining a complete set of associated fields corresponding to the material field to be adjusted, as multiple associated material fields that need to be adjusted synchronously with the material field to be adjusted; obtaining a preset field-business process mapping table, which is used to represent the business processes using each material field; obtaining the business processes of each complete associated field in the complete set of complete associated fields from the preset field-business process mapping table, as the affected business processes that need to be adjusted synchronously with the material field to be adjusted.

[0112] In one possible implementation, the material field relationship graph is as follows: Figure 4 As shown in the diagram, the "Material Code" is directly associated with fields such as "Specifications," "Material Name," and "Supplier." Set the material field to be adjusted (e.g., "Material Code") as the focus node. Starting from the "Material Code," find the directly associated fields along the edges of the graph: "Specifications," "Material Name," "Supplier," "Unit," "Purchase Price," "Safety Stock," and "Delivery Cycle." Set these directly associated fields as new focus nodes sequentially, continuing to traverse the graph until no more associated fields remain. The complete set of associated fields includes: "Specifications," "Material Name," "Supplier," "Unit," "Purchase Price," "Safety Stock," and "Delivery Cycle." The system queries the preset field-business process mapping table to find the business processes corresponding to these fields. Based on the complete set of associated fields, determine the business processes that need to be adjusted synchronously, such as the purchase requisition process, inventory receipt process, production material requisition process, and financial accounting process. Examples of business processes to be adjusted synchronously include... Figure 5 As shown.

[0113] In some embodiments of this application, the specific process of constructing a material field association graph corresponding to the material template to be updated includes: initializing an initial graph for storing material fields and their associations, wherein initial nodes in the initial graph represent material fields and initial edges represent dependencies between material fields; defining a data structure for each initial node including the name, type, and default value attributes of the material field, and defining a data structure for each initial edge including a start field, an end field, and a dependency relationship, to obtain a backup graph; extracting all default material fields from the material template to be updated; determining the dependencies between all default material fields according to preset material field association rules; adding each default material field to the backup graph based on the data structure, and setting edges for each pair of related material fields based on the dependencies between all default material fields; when the set edge attributes are not repeated or the dependencies do not conflict, using the backup graph with added default material fields and edges as the material field association graph corresponding to the material template to be updated.

[0114] In some embodiments of this application, the specific process of obtaining the material fields dependent on the focus node and the material fields that the focus node depends on based on the dependency relationship includes: creating a first set of material fields dependent on the focus node and a second set of material fields that the focus node depends on; determining whether the endpoint and start point of the edge corresponding to the dependency relationship are focus nodes; if the endpoint of the edge is a focus node, adding the material field corresponding to the start point of the edge to the first set of material fields; or, if the start point of the edge is a focus node, adding the material field corresponding to the endpoint of the edge to the second set of material fields; and when the traversal is complete, using all the material fields added to the first set of material fields as the material fields dependent on the focus node, and using all the material fields added to the second set of material fields as the material fields that the focus node depends on.

[0115] The preset field-business process mapping table includes the correspondence between material fields and multiple business processes.

[0116] In some embodiments of this application, the specific process of obtaining the business process of each complete associated field in the complete associated field set from the preset field-business process mapping table includes: obtaining the business process of each complete associated field in the complete associated field set in the correspondence relationship.

[0117] In some embodiments of this application, the specific process of generating a preset field-business process mapping table includes: traversing all business processes in the current business system and obtaining the attribute information of each business process; extracting multiple material fields involved in each business process based on the attribute information of each business process; traversing each material field to be stored among the multiple material fields involved in each business process; storing the backup correspondence between each material field to be stored and the business process corresponding to each material field to be stored, thereby obtaining the preset field-business process mapping table.

[0118] For example Figure 7 As shown, Figure 7 This application provides a flowchart illustrating the process of analyzing associated material fields and affected business processes. First, the system constructs a graph representing the relationships between material fields. A material field to be adjusted is selected as the starting point for graph traversal; this field is designated as the focus node. Starting from the focus node, the system traverses the graph, searching for other fields directly or indirectly related to the focus node. During traversal, the system checks for dependencies. If dependencies exist, the system obtains the set of fields directly associated with the focus node. If no dependencies exist, the system has obtained a complete set of associated fields. Using this complete set of associated fields, a pre-defined mapping table between fields and business processes is queried to determine which business processes are related to these fields. The business process corresponding to each associated field is retrieved from the mapping table. Finally, the system outputs the associated material fields and the affected business processes.

[0119] S105 automatically updates multiple related material fields and logical parameters of affected business processes.

[0120] In some embodiments of this application, the specific process of automatically updating multiple related material fields and affected business processes includes: analyzing the original dependency relationship between each related material field and the material field to be adjusted; parsing the field adjustment instruction to obtain the user adjustment content of the material field to be adjusted; based on the original dependency relationship and the user adjustment content, analyzing the field value adjustment operation, field type change operation, and deletion operation that each related material field needs to perform to obtain the specific field adjustment requirements of each related material field; based on the user adjustment content, analyzing the type and range of input parameters that need to be adjusted in each affected business process and the logical expression of the judgment condition to obtain the specific process adjustment requirements of each affected business process; and adjusting the logical parameters of multiple related material fields and affected business processes based on the specific field adjustment requirements and the specific process adjustment requirements.

[0121] Specifically, the process of adjusting multiple related material fields and the logical parameters of the affected business processes based on specific field adjustment requirements and process adjustment requirements includes: when the specific field adjustment requirement includes a field value adjustment operation, updating the field value of each related material field according to the user's adjustment content; or, when the specific field adjustment requirement includes a field type change operation, updating the field type attribute of each related material field; or, when the specific field adjustment requirement includes a deletion operation, deleting each related material field and its field value; and replacing the logical parameters of the affected business processes with the input parameter types and ranges, and logical expressions of the judgment conditions in the process adjustment requirements.

[0122] In one possible implementation, the material template includes the following fields and business processes:

[0123] Material fields and dependencies: Unit price (data type: integer), Purchase quantity (data type: integer), Total purchase price (data type: integer), Dependency: Total purchase price = Unit price * Purchase quantity (calculation formula dependency).

[0124] Business Process: The process is named Automatic Approval Process, and the process rule is IF (total purchase price <= 10000) THEN Automatic Approval ELSE Transfer to Manual Approval.

[0125] In this application, for example, due to business development, high-priced materials appear, and engineers change the data type of the unit price field from integer to floating-point. At this point, the system detects a "calculation formula dependency" between the total purchase price and the unit price. The instruction is parsed as UPDATE, the target field is unit price, and the new data type is floating-point. Because it's a "data type modification" under a "calculation formula dependency," the system deduces that the related field, total purchase price, must also support decimal results. Therefore, the specific adjustment requirement for this field is: change the data type from integer to floating-point (field type change operation). The system finds that the judgment condition IF(total purchase price <= 10000) in the "automatic approval process" depends on the total purchase price field. Since the total purchase price type becomes floating-point, but 10000 in the judgment condition is still an integer, logically it works, but to maintain strict consistency, the system may generate a specific process adjustment requirement: explicitly set the threshold in the judgment condition to floating-point, i.e., update it to IF(total purchase price <= 10000.0). Finally, the unit price field type is changed to floating-point. Change the data type of the "Total Purchase Price" field to floating point.

[0126] For example Figure 8 As shown, Figure 8This is an overall logical block diagram of a material field adaptive configuration method provided in this application. After obtaining the material template corresponding to the material type of the material to be updated, the system displays the template and field configuration interface, allowing users to view and configure the material template and its fields. Users perform field adjustment operations on the interface and submit these adjustment instructions. The system receives the user's adjustment instructions and stores the updated material template. The system analyzes the user-submitted instructions to determine which material fields need adjustment. It analyzes the relationship graph between material fields to identify all directly and indirectly related fields. It identifies all material fields directly or indirectly related to the fields to be adjusted. It identifies all business processes affected by field adjustments. Based on the original dependencies and user adjustments, it generates specific adjustment requirements for each related field. Based on user adjustments, it generates specific adjustment requirements for each affected business process. It automatically updates all material fields that need adjustment. It updates the logical parameters of all affected business processes. All configuration updates are completed.

[0127] Furthermore, during use, the preset material template library responds to user-submitted business document creation requests by retrieving target material templates from the mapping relationships. These target material templates include multiple target material fields. Based on pre-configured control rules, it determines the first material field constrained by the system and the second material field that can be flexibly adjusted. It retrieves parameter values ​​matching the first material field from the material master data stored in the system; it receives user-defined parameter values ​​for the second material field; and it stores the retrieved parameter values ​​matching the first material field and the received user-defined parameter values ​​for the second material field into the target material template to obtain the target document. The material fields and their parameter values ​​stored in the target document are set to remain unchanged.

[0128] In this embodiment, on the one hand, by receiving material configuration requests submitted by users and obtaining corresponding material templates, the system can automatically identify the material fields to be adjusted and their relationships. Then, based on these relationships, it can automatically update all affected related material fields and logical parameters of business processes, eliminating the need for engineers to manually adjust them one by one. This solves the problem of "changing one thing affects the whole system" in traditional integrated management models, significantly improving the efficiency and accuracy of material field configuration. On the other hand, by pre-configuring a material field relationship graph and a preset field-business process mapping table, where nodes in the graph represent material fields and edges represent dependencies between them, and the mapping table characterizes the business processes using each material field, the system can quickly locate multiple related material fields and affected business processes that need to be adjusted synchronously with the material field to be adjusted. This automated approach avoids engineers manually searching one by one, reducing the risk of errors caused by manual operation and improving work efficiency.

[0129] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.

[0130] Please see Figure 9 This illustration shows a schematic diagram of a material field adaptive configuration device provided in an exemplary embodiment of this application. The material field adaptive configuration device can be implemented as all or part of an electronic device through software, hardware, or a combination of both. The device 1 includes a request receiving module 10, a template acquisition module 20, a storage module 30, a determination module 40, and an update module 50.

[0131] The request receiving module 10 is used to receive material configuration requests submitted by users. The material configuration requests carry the material type of the material to be updated.

[0132] The template acquisition module 20 is used to obtain the material template to be updated corresponding to the material type of the material to be updated from the mapping relationship between material types and material templates stored in the preset material template library. The material template to be updated includes multiple default material fields and the association relationship between the default material fields.

[0133] Storage module 30 is used to store the updated material template and determine the material fields to be adjusted in response to a field adjustment instruction for the material template to be updated;

[0134] The determination module 40 is used to determine, based on the default relationships between material fields, multiple related material fields that need to be adjusted synchronously with the material field to be adjusted, and the affected business processes.

[0135] Update module 50 is used to automatically update multiple related material fields and logical parameters of affected business processes.

[0136] It should be noted that the material field adaptive configuration device provided in the above embodiments is only illustrated by the division of the above functional modules when executing the material field adaptive configuration method. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the material field adaptive configuration device and the material field adaptive configuration method embodiments provided in the above embodiments belong to the same concept, and the implementation process is detailed in the method embodiments, which will not be repeated here.

[0137] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0138] In this embodiment, on the one hand, by receiving material configuration requests submitted by users and obtaining corresponding material templates, the system can automatically identify the material fields to be adjusted and their relationships. Then, based on these relationships, it can automatically update all affected related material fields and logical parameters of business processes, eliminating the need for engineers to manually adjust them one by one. This solves the problem of "changing one thing affects the whole system" in traditional integrated management models, significantly improving the efficiency and accuracy of material field configuration. On the other hand, by pre-configuring a material field relationship graph and a preset field-business process mapping table, where nodes in the graph represent material fields and edges represent dependencies between them, and the mapping table characterizes the business processes using each material field, the system can quickly locate multiple related material fields and affected business processes that need to be adjusted synchronously with the material field to be adjusted. This automated approach avoids engineers manually searching one by one, reducing the risk of errors caused by manual operation and improving work efficiency.

[0139] This application also provides a computer-readable medium having program instructions stored thereon, which, when executed by a processor, implement the material field adaptive configuration method provided in the above-described method embodiments.

[0140] This application also provides a computer program product containing instructions that, when run on a computer, cause the computer to execute the material field adaptive configuration method of the various method embodiments described above.

[0141] Please see Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 10 As shown, the electronic device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002.

[0142] The communication bus 1002 is used to realize the connection and communication between these components.

[0143] The user interface 1003 may include a display screen and a camera. Optionally, the user interface 1003 may also include a standard wired interface and a wireless interface.

[0144] The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).

[0145] The processor 1001 may include one or more processing cores. The processor 1001 connects to various parts within the electronic device 1000 using various interfaces and lines. It executes various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and by calling data stored in the memory 1005. Optionally, the processor 1001 may be implemented using at least one hardware form selected from Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1001 may integrate one or more of the following: a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), and a modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content to be displayed on the screen; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip, without being integrated into the processor 1001.

[0146] The memory 1005 may include random access memory (RAM) or read-only memory. Optionally, the memory 1005 may include a non-transitory computer-readable storage medium. The memory 1005 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 1005 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 1005 may also be at least one storage system located remotely from the aforementioned processor 1001. Figure 10 As shown, the memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a material field adaptive configuration application.

[0147] exist Figure 10In the illustrated electronic device 1000, the user interface 1003 is mainly used to provide an input interface for the user and to acquire user input data; while the processor 1001 can be used to call the material field adaptive configuration application stored in the memory 1005 and specifically perform the following operations:

[0148] Receive material configuration requests submitted by users, which carry the material type of the material to be updated;

[0149] From the mapping relationship between material types and material templates stored in the preset material template library, obtain the material template to be updated corresponding to the material type of the material to be updated. The material template to be updated includes multiple default material fields and the association relationship between the default material fields.

[0150] In response to a field adjustment instruction for a material template to be updated, the updated material template is stored and the material fields to be adjusted are determined.

[0151] Based on the default relationships between material fields, identify the multiple related material fields that need to be adjusted synchronously with the material field to be adjusted, and the affected business processes;

[0152] Automated updates of multiple related material fields and logical parameters of affected business processes.

[0153] In one embodiment, the processor 1001 also performs the following operations:

[0154] In response to a user's request to create a business document, the target material template is retrieved from the mapping relationship. The target material template includes multiple target material fields.

[0155] Based on pre-configured control rules, the first material field constrained by the system and the second material field that can be flexibly adjusted are determined among multiple target material fields;

[0156] Retrieve the parameter value that matches the first material field from the material master data stored in the system;

[0157] Receive user-defined parameter values ​​for the second material field;

[0158] The parameter values ​​that match the first material field and the parameter values ​​that the user has customized for the second material field are stored in the target material template to obtain the target document. The material fields and their parameter values ​​stored in the target document are set to remain unchanged.

[0159] In one embodiment, when the processor 1001 executes the stored updated material template, it specifically performs the following operations:

[0160] The user submits the temporary material field to the system corresponding to the detection field adjustment instruction, and obtains the list of temporary material fields to be confirmed. The list of temporary material fields to be confirmed includes detailed information of all detected temporary materials.

[0161] When an abnormal material field that does not conform to preset rules or standards is detected, an abnormal signal for the abnormal material field is generated.

[0162] Generate collaborative tasks based on the temporary list of materials to be confirmed; generate exception handling tasks based on exception signals.

[0163] Push collaborative tasks and exception handling tasks to the client of the collaborative processing department;

[0164] Receive task processing results from the client;

[0165] Based on the task processing results, update the field status of the temporary material field to obtain the updated material template; store the updated material template in the preset material template library.

[0166] In one embodiment, when the processor 1001 determines, based on the default association relationships between material fields, multiple associated material fields that need to be adjusted synchronously with the material field to be adjusted, and the affected business processes, the processor 1001 specifically performs the following operations:

[0167] Construct a graph of material field relationships corresponding to the material template to be updated; the nodes in the graph represent material fields, and the edges represent the dependencies between material fields.

[0168] The material field to be adjusted is taken as the focus node, and the material field relationship graph is traversed to obtain the material fields that depend on the focus node and the material fields that the focus node depends on, which are taken as the set of directly related fields.

[0169] Each directly related field in the directly related field set is re-established as the focus node, and the step of traversing along the directed graph is continued until there are no material fields that depend on the focus node or are depended on by the focus node. This yields the complete set of related fields corresponding to the material field to be adjusted, which serves as multiple related material fields that need to be adjusted synchronously with the material field to be adjusted.

[0170] Retrieve the preset field-business process mapping table, which is used to represent the business process that uses each material field;

[0171] From the preset field-business process mapping table, obtain the business process of each complete related field in the complete related field set, which is the affected business process that needs to be adjusted synchronously with the material field to be adjusted.

[0172] In one embodiment, when the processor 1001 executes the construction of the material field association graph corresponding to the material template to be updated, it specifically performs the following operations:

[0173] Initialize the initial graph used to store material fields and their relationships. In the initial graph, the initial nodes represent material fields, and the initial edges represent the dependencies between material fields.

[0174] For each initial node, a data structure is defined including the name, type, and default value attributes of the material field. For each initial edge, a data structure is defined including the start field, end field, and dependency relationship to obtain the backup graph.

[0175] Extract all default material fields from the material template to be updated;

[0176] Based on the preset material field association rules, determine the dependencies between all default material fields;

[0177] Based on the data structure, each default material field is added to the standby graph, and based on the dependencies between all default material fields, edges are set for each pair of related material fields.

[0178] When the edge attributes are not duplicated or the dependencies do not conflict, a backup graph with default material fields and edges will be added as the material field association graph corresponding to the material template to be updated.

[0179] In one embodiment, when the processor 1001 executes the operation of retrieving the material fields of the dependent focus node and the material fields that the focus node depends on based on the dependency relationship, it specifically performs the following operations:

[0180] Create the first set of material fields that depend on the focus node, and the second set of material fields that the focus node depends on;

[0181] Determine whether the endpoint and start point of the edge corresponding to the dependency relationship are focus nodes;

[0182] If the endpoint of an edge is a focus node, add the material field corresponding to the starting point of the edge to the first material field set; or,

[0183] If the starting point of an edge is a focus node, add the material field corresponding to the ending point of the edge to the second material field set;

[0184] When the traversal is complete, all material fields added to the first material field set are treated as material fields dependent on the focus node, and all material fields added to the second material field set are treated as material fields dependent on the focus node.

[0185] In one embodiment, when the processor 1001 generates the preset field-business process mapping table, it performs the following operations:

[0186] Iterate through all business processes in the current business system and obtain the attribute information of each business process;

[0187] Based on the attribute information of each business process, extract multiple material fields involved in each business process;

[0188] Iterate through each material field to be stored in the multiple material fields involved in each business process;

[0189] Store the alternative correspondence between each material field to be stored and the corresponding business process, and obtain the preset field-business process mapping table.

[0190] In one embodiment, when the processor 1001 executes the automated update of multiple related material fields and the affected business processes, it specifically performs the following operations:

[0191] Analyze the original dependencies between each associated material field and the material field to be adjusted;

[0192] Parse the field adjustment command to obtain the user's adjustment content for the material field to be adjusted;

[0193] Based on the original dependencies and user-adjusted content, analyze the field value adjustment operations, field type change operations, and deletion operations required for each associated material field to obtain the specific field adjustment requirements for each associated material field;

[0194] Based on the user's adjustments, analyze the types and ranges of input parameters that need to be adjusted in each affected business process, as well as the logical expressions of the judgment conditions, to obtain the specific adjustment requirements for each affected business process.

[0195] Based on specific field and process adjustment requirements, adjust the logical parameters of multiple related material fields and affected business processes.

[0196] In one embodiment, when the processor 1001 executes logical parameters that adjust multiple related material fields and affected business processes based on specific field adjustment requirements and process adjustment requirements, it specifically performs the following operations:

[0197] When the specific field adjustment request includes field value adjustment operations, update the field value of each associated material field according to the user's adjustment content; or, when the specific field adjustment request includes field type change operations, update the field type attribute of each associated material field; or, when the specific field adjustment request includes deletion operations, delete each associated material field and the field value of each associated material field.

[0198] Replace the logical parameters of the affected business processes with the types and ranges of input parameters and the logical expressions of judgment conditions in the specific adjustment requirements of the processes.

[0199] In this embodiment, on the one hand, by receiving material configuration requests submitted by users and obtaining corresponding material templates, the system can automatically identify the material fields to be adjusted and their relationships. Then, based on these relationships, it can automatically update all affected related material fields and logical parameters of business processes, eliminating the need for engineers to manually adjust them one by one. This solves the problem of "changing one thing affects the whole system" in traditional integrated management models, significantly improving the efficiency and accuracy of material field configuration. On the other hand, by pre-configuring a material field relationship graph and a preset field-business process mapping table, where nodes in the graph represent material fields and edges represent dependencies between them, and the mapping table characterizes the business processes using each material field, the system can quickly locate multiple related material fields and affected business processes that need to be adjusted synchronously with the material field to be adjusted. This automated approach avoids engineers manually searching one by one, reducing the risk of errors caused by manual operation and improving work efficiency.

[0200] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The material field adaptive configuration program can be stored in a computer-readable storage medium. When executed, the program can include the processes of the embodiments of the methods described above. The storage medium for the material field adaptive configuration program can be a magnetic disk, optical disk, read-only memory, or random access memory, etc.

[0201] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.

Claims

1. A method for adaptive configuration of material fields, characterized in that, The method includes: Receive a material configuration request submitted by a user, the material configuration request carrying the material type of the material to be updated; From the mapping relationship between material types and material templates stored in the preset material template library, obtain the material template to be updated corresponding to the material type of the material to be updated. The material template to be updated includes multiple default material fields and the association relationship between the default material fields. In response to the field adjustment instruction for the material template to be updated, the updated material template is stored and the material fields to be adjusted are determined; Based on the relationships between the default material fields, identify multiple related material fields that need to be adjusted synchronously with the material field to be adjusted, and the affected business processes. Automated updates to the multiple associated material fields and the logical parameters of the affected business processes; The method further includes: In response to a user-submitted business document creation request, a target material template is obtained from the mapping relationship. The target material template includes multiple target material fields. Based on pre-configured control rules, a first material field constrained by the system and a second material field that can be flexibly adjusted are determined from the multiple target material fields. Parameter values ​​matching the first material field are obtained from the material master data stored in the system. Parameter values ​​customized by the user for the second material field are received. The obtained parameter values ​​matching the first material field and the received parameter values ​​customized by the user for the second material field are stored in the target material template to obtain a target document. The material fields and their parameter values ​​stored in the target document are set to remain unchanged.

2. The method according to claim 1, characterized in that, The updated material template is stored as follows: The system detects the temporary material fields submitted by the user to the system corresponding to the field adjustment instruction, and obtains a list of temporary material fields to be confirmed. The list of temporary material fields to be confirmed includes detailed information on all detected temporary materials. When an abnormal material field that does not conform to preset rules or standards is detected, an abnormal signal for the abnormal material field is generated. Based on the list of temporary materials to be confirmed, generate a collaborative task; based on the abnormal signal, generate an abnormal handling task. The collaborative task and the exception handling task are pushed to the client of the collaborative processing department; Receive the task processing result from the client; Based on the task processing results, update the field status of the temporary material field to obtain the updated material template; store the updated material template in the preset material template library.

3. The method according to claim 1, characterized in that, The step of determining, based on the association relationships between the default material fields, multiple associated material fields that need to be adjusted synchronously with the material field to be adjusted, and the affected business processes, includes: Construct a material field relationship graph corresponding to the material template to be updated; the nodes in the material field relationship graph are material fields, and the edges are the dependencies between material fields. The material field to be adjusted is taken as the focus node, and the association graph of the material field is traversed to obtain the material fields that depend on the focus node and the material fields that the focus node depends on, as the set of directly associated fields based on the dependency relationship. Each directly associated field in the set of directly associated fields is re-established as the focus node, and the step of traversing along the material field association graph is continued until there are no material fields that depend on the focus node or are depended on by the focus node, thus obtaining the complete set of associated fields corresponding to the material field to be adjusted, which serves as multiple associated material fields that need to be adjusted synchronously with the material field to be adjusted. Obtain a preset field-business process mapping table, which is used to represent the business process using each material field; From the preset field-business process mapping table, obtain the business process of each complete associated field in the complete associated field set, as the affected business process that needs to be adjusted synchronously with the material field to be adjusted.

4. The method according to claim 3, characterized in that, The construction of the material field relationship graph corresponding to the material template to be updated includes: Initialize an initial graph for storing material fields and their relationships, wherein initial nodes represent material fields and initial edges represent the dependencies between material fields; For each initial node, a data structure is defined including the name, type, and default value attributes of the material field. For each initial edge, a data structure is defined including the start field, end field, and dependency relationship to obtain the backup graph. Extract all default material fields from the material template to be updated; Based on the preset material field association rules, determine the dependencies between all the default material fields; Based on the data structure, each default material field is added to the backup graph, and based on the dependency relationship between all the default material fields, an edge is set for each pair of related material fields; When the edge attributes are not repeated or the dependencies do not conflict, a spare graph with default material fields and edges will be added as the material field association graph corresponding to the material template to be updated.

5. The method according to claim 3, characterized in that, The step of obtaining the material fields that depend on the focus node and the material fields that the focus node depends on, based on the dependency relationship, includes: Create a first set of material fields that depends on the focus node, and a second set of material fields that the focus node depends on; Determine whether the endpoint and start point of the edge corresponding to the dependency relationship are the focus node; If the endpoint of the edge is the focal node, add the material field corresponding to the starting point of the edge to the first material field set; or, If the starting point of the edge is the focal node, the material field corresponding to the ending point of the edge is added to the second material field set; Upon completion of the traversal, all material fields added to the first material field set are treated as material fields dependent on the focus node, and all material fields added to the second material field set are treated as material fields dependent on the focus node.

6. The method according to claim 3, characterized in that, The preset field-business process mapping table includes the correspondence between material fields and multiple business processes; From the preset field-business process mapping table, obtain the business process for each complete associated field in the complete associated field set, including: In the correspondence, the business process for each complete associated field in the complete associated field set is obtained; wherein, Generate a preset field-business process mapping table by following these steps: Iterate through all business processes in the current business system and obtain the attribute information of each business process; Based on the attribute information of each business process, extract multiple material fields involved in each business process; Iterate through each material field to be stored in the multiple material fields involved in each of the business processes; Store the alternative correspondence between each material field to be stored and the corresponding business process to obtain a preset field-business process mapping table.

7. The method according to claim 1, characterized in that, The automated updates to the multiple associated material fields and the affected business processes include: Analyze the original dependencies between each associated material field and the material field to be adjusted; Parse the field adjustment instruction to obtain the user's adjustment content for the material field to be adjusted; Based on the original dependency relationship and the user's adjustment content, analyze the field value adjustment operation, field type change operation, and deletion operation required for each associated material field to obtain the specific field adjustment requirements for each associated material field; Based on the user's adjustment content, analyze the type and range of input parameters that need to be adjusted in each affected business process, as well as the logical expression of the judgment conditions, to obtain the specific adjustment requirements for each affected business process. Based on the specific adjustment requirements of the fields and the specific adjustment requirements of the processes, the logical parameters of the multiple related material fields and the affected business processes are adjusted.

8. The method according to claim 7, characterized in that, The adjustment of the logical parameters of the multiple related material fields and the affected business processes based on the specific adjustment requirements of the fields and the specific adjustment requirements of the processes includes: When the specific adjustment request for the field includes a field value adjustment operation, update the field value of each associated material field according to the user's adjustment content; or, when the specific adjustment request for the field includes a field type change operation, update the field type attribute of each associated material field; or, when the specific adjustment request for the field includes a deletion operation, delete each associated material field and the field value of each associated material field. Replace the logical parameters of the affected business process with the logical expressions of the input parameter types and ranges, and judgment conditions in the specific adjustment requirements of the process.

9. A material field adaptive configuration device implemented using the method according to any one of claims 1-8, characterized in that, The device includes: The request receiving module is used to receive material configuration requests submitted by users, wherein the material configuration requests carry the material type of the material to be updated; The template acquisition module is used to obtain the material template to be updated corresponding to the material type of the material to be updated from the mapping relationship between material types and material templates stored in the preset material template library. The material template to be updated includes multiple default material fields and the association relationship between the default material fields. The storage module is used to respond to the field adjustment instruction for the material template to be updated, store the updated material template and determine the material fields to be adjusted; The determination module is used to determine, based on the association relationships between the default material fields, multiple associated material fields that need to be adjusted synchronously with the material field to be adjusted, and the affected business processes; The update module is used to automatically update the multiple associated material fields and the logical parameters of the affected business processes.

Citation Information

Patent Citations

  • Multi-level BOM model creating method, device and equipment and storage medium

    CN116775956A