Element ontology-based master data management method and system
By extending the dynamic attribute dimensions and state change rule sets of core elements in the manufacturing scenario, and performing unified coding and constructing an integrated element ontology, the problem of standardized management and semantic binding that cannot be achieved in existing technologies is solved, improving the efficiency and response speed of master data management and adapting to the flexible production needs of the manufacturing scenario.
Patent Information
- Application Number
- CN202610722546.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-25
- Publication Date
- 2026-06-26
AI Technical Summary
The existing master data management in manufacturing scenarios has failed to build a dynamic attribute dimension system for core elements and configure state change rules, resulting in the inability to achieve standardized and unified element management. Furthermore, the lack of a semantic binding mechanism makes it impossible to build a complete knowledge graph of manufacturing elements, leading to low efficiency in master data management and an inability to adapt to flexible production needs.
To expand the dynamic attribute dimension set and state change rule set of core elements in the manufacturing scenario, a unified encoding is performed to build an integrated element ontology. By semantically binding real-time data of the manufacturing scenario, a manufacturing element knowledge graph is generated to achieve rapid response to changes in production demand.
It has achieved standardized and integrated management of the attributes of core elements throughout their entire lifecycle, improved the efficiency of master data management and the speed of change response, and adapted to the flexible production needs of manufacturing scenarios.
Smart Images

Figure CN122287620A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data management technology, and in particular to a master data management method and system based on element ontology. Background Technology
[0002] Current master data management in manufacturing scenarios focuses solely on the static attributes of core elements, failing to establish a dynamic attribute dimension system for monitorable features throughout the entire manufacturing lifecycle, and lacking corresponding state change rules. This makes it impossible to support the dynamic adaptation and real-time updates of core element attributes. Existing technologies do not perform unified coding and integrated encapsulation of the static and dynamic attributes and state change rules of core elements, resulting in a fragmented element ontology structure that cannot form a standardized and unified element management framework.
[0003] The lack of a semantic binding mechanism between master data and real-time IoT data in existing manufacturing scenarios makes it impossible to build a complete and clearly related knowledge graph of manufacturing elements. This results in significant difficulty and low efficiency in sorting out the relationships between various data types. When production demands change, existing technologies cannot quickly locate the related attributes of core elements, nor can they accurately adjust the attributes of integrated element entities. Master data change response speed is slow, and the overall master data management efficiency cannot meet the actual needs of flexible production in manufacturing scenarios. Summary of the Invention
[0004] This invention provides a master data management method and system based on element ontology to solve the problems mentioned in the background art.
[0005] To achieve the above objectives, the present invention provides a master data management method based on feature ontology, comprising: To address the core elements in the manufacturing scenario, we expand and allocate a dynamic attribute dimension set and a state change rule set. The static attribute set, dynamic attribute dimension set, and state change rule set of the core elements are uniformly encoded to obtain the integrated element ontology of the core elements. By semantically binding real-time data from the manufacturing scenario with the integrated element ontology, a manufacturing element knowledge graph of the core elements is obtained. When a production demand change instruction is received, the target generation elements in the production demand change instruction are extracted. Based on the target generated elements, locate the associated attributes in the manufacturing element knowledge graph, and change the attributes of the integrated element ontology according to the associated attributes.
[0006] In a preferred embodiment, the core elements in the manufacturing scenario are expanded and assigned a dynamic attribute dimension set and a state change rule set, including: Assign writable data slots to the core elements as monitorable features throughout the entire manufacturing lifecycle to obtain a dynamic attribute dimension set; Define a set of dynamic attribute dimensions to trigger changes, and the data source interface corresponding to the value change of each dynamic attribute dimension to obtain the initial mapping relationship between dynamic attributes and business events; Based on the initial mapping relationship, set up the state change logic block; By associating and encapsulating the dynamic attribute dimension set with the state change logic block, a set of state change rules for the core elements is obtained.
[0007] In a preferred embodiment, the step of setting the state change logic block according to the preliminary mapping relationship includes: The system consists of a precondition judgment sub-block and a post-action execution sub-block. The precondition judgment sub-block is used to parse business event data from the data source interface to determine whether the change trigger condition is met. The post-action execution sub-block is used to generate a new value for the writable data slot when the trigger condition is met.
[0008] In a preferred embodiment, the step of uniformly encoding the static attribute set, dynamic attribute dimension set, and state change rule set of the core elements to obtain an integrated element ontology of the core elements includes: Assign a globally unique static attribute code to each static attribute in the static attribute set with the master data coding standard as the core element, and obtain the encoded static attribute set; Using encoding rules compatible with static attribute encoding, a dynamic attribute code is assigned to each dynamic attribute dimension in the dynamic attribute dimension set of the core element, and an association index is established between each dynamic attribute code and the corresponding static attribute code to obtain the encoded dynamic attribute dimension set. Assign a rule code to each state change rule in the state change rule set, and bind the rule code with the dynamic attribute code involved in the associated index to obtain the encoded state change rule set; The encoded static attribute set, the encoded dynamic attribute dimension set, and the encoded state change rule set are aggregated and encapsulated according to the element ontology structure to form an integrated element ontology of the core elements.
[0009] In a preferred embodiment, the step of semantically binding real-time data from the manufacturing scenario with the integrated element ontology includes: Collect real-time data streams from IoT devices in manufacturing scenarios; Based on the data source identifier in the real-time data stream, locate the corresponding core elements and dynamic attribute dimensions in the integrated element ontology; Write the dynamic values in the real-time data stream into the writable data slots corresponding to the dynamic attribute dimensions, and associate them with timestamps to obtain real-time semantic instances of the dynamic attribute dimensions.
[0010] In a preferred embodiment, after writing the dynamic values from the real-time data stream into the writable data slots corresponding to the dynamic attribute dimension and associating them with timestamps to obtain real-time semantic instances of the dynamic attribute dimension, the method further includes: Obtain the static attribute codes associated with the dynamic attribute dimensions of the core elements' static attribute set; By associating and storing real-time semantic instances with static attribute encodings, a joint data structure is obtained; Based on the joint data structure, the precondition judgments in the set of rules for state changes of core elements are triggered to obtain state change event records.
[0011] In a preferred embodiment, obtaining the manufacturing element knowledge graph of the core elements includes: Collect all generated federated data structures and state change event records; Static attribute encoding of core elements is used as entity nodes, dynamic values in real-time semantic instances are used as dynamic attribute nodes of entity nodes, and state change event records are used as the association edges between entity nodes. By organizing entity nodes, dynamic attribute nodes, and associated edges according to a graph structure, a knowledge graph of manufacturing elements is obtained for the core elements.
[0012] In a preferred embodiment, the step of extracting the target generation elements from the production demand change instruction when a production demand change instruction is received includes: Read the instruction type field and instruction payload field from the message structure of the production demand change instruction; The change type is determined based on the instruction type field. When the change type is product switching or order adjustment, the identifier set is extracted from the instruction payload field. Each identifier in the identifier set is matched with a core element in the integrated element ontology to generate the target generated element.
[0013] In a preferred embodiment, the step of locating the associated attributes in the manufacturing element knowledge graph based on the target generated elements, and changing the attributes of the integrated element ontology based on the associated attributes, includes: Using the identifier of the target generating element as the query key, retrieve the entity nodes directly associated with the target generating element in the manufacturing element knowledge graph; Starting from the retrieved entity nodes, along the association edges in the manufacturing element knowledge graph, extract all dynamic attribute nodes that are related to the target generating element, and determine the dynamic attribute code set corresponding to these dynamic attribute nodes as the association attribute; Based on the code of each dynamic attribute in the associated attributes, locate the corresponding writable data slot in the integrated element ontology and generate a list of attributes to be changed. According to the change parameters in the production demand change instruction, perform value overwrite and append operations on each writable data slot in the list of attributes to be changed.
[0014] To address the above problems, the present invention also provides a master data management system based on feature ontology, the system comprising: The attribute rule extension module is used to extend and assign dynamic attribute dimension sets and state change rule sets to core elements in the manufacturing scenario; The element ontology compilation module is used to uniformly encode the static attribute set, dynamic attribute dimension set, and state change rule set of core elements to obtain an integrated element ontology of the core elements. The graph semantic fusion module is used to semantically bind real-time data in the manufacturing scenario with the integrated element ontology to obtain the manufacturing element knowledge graph of the core elements. The change element parsing module is used to extract the target generation elements from the production requirement change instruction when a production requirement change instruction is received. The ontology dynamic adjustment module is used to locate the associated attributes in the manufacturing element knowledge graph based on the target generated elements, and to change the attributes of the integrated element ontology based on the associated attributes.
[0015] Compared with the prior art, the present invention has the following beneficial effects: 1. This invention extends and allocates dynamic attribute dimension sets and state change rule sets to core elements of manufacturing scenarios. It performs unified coding and aggregation encapsulation on the static attributes, dynamic attributes and state change rules of core elements to form an integrated element ontology, realizing standardized and integrated management and control of the attributes of core elements throughout their entire life cycle, and ensuring that the attributes of elements can be stably monitored and dynamically adapted.
[0016] 2. This invention semantically binds real-time manufacturing scenario data with an integrated element ontology and constructs a manufacturing element knowledge graph. When receiving instructions to change production requirements, it can accurately extract target generation elements, quickly locate associated attributes, and complete attribute changes to the integrated element ontology, effectively improving master data management efficiency and change response speed, and adapting to the flexible production operation requirements of manufacturing scenarios. Attached Figure Description
[0017] Figure 1This is a flowchart illustrating a master data management method based on element ontology provided in an embodiment of the present invention. Figure 2 This is a functional block diagram of a master data management system based on element ontology provided in an embodiment of the present invention. Detailed Implementation
[0018] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. This application provides a master data management method based on feature ontology. The executing entity of the master data management method based on feature ontology includes, but is not limited to, at least one of the following electronic devices that can be configured to execute the method provided in this application: a server, a terminal, etc. In other words, the master data management method based on feature ontology can be executed by software or hardware installed on a terminal device or a server device. The server includes, but is not limited to, a single server, a server cluster, a cloud server, or a cloud server cluster. The server can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.
[0019] Reference Figure 1 The diagram shown is a flowchart illustrating a master data management method based on feature ontology according to an embodiment of the present invention. In this embodiment, the master data management method based on feature ontology includes: To address the core elements in the manufacturing scenario, we expand and allocate a dynamic attribute dimension set and a state change rule set. In this embodiment of the invention, the core elements in the manufacturing scenario are expanded and assigned to a dynamic attribute dimension set and a state change rule set, including: Assign writable data slots to the core elements as monitorable features throughout the entire manufacturing lifecycle to obtain a dynamic attribute dimension set; Define a set of dynamic attribute dimensions to trigger changes, and the data source interface corresponding to the value change of each dynamic attribute dimension to obtain the initial mapping relationship between dynamic attributes and business events; Based on the initial mapping relationship, set up the state change logic block; By associating and encapsulating the dynamic attribute dimension set with the state change logic block, a set of state change rules for the core elements is obtained.
[0020] The step of setting the state change logic block based on the initial mapping relationship includes: The system consists of a precondition judgment sub-block and a post-action execution sub-block. The precondition judgment sub-block is used to parse business event data from the data source interface to determine whether the change trigger condition is met. The post-action execution sub-block is used to generate a new value for the writable data slot when the trigger condition is met.
[0021] The process traces the entire lifecycle of core elements, starting from the raw material input stage, through the processing execution stage, assembly and combination stage, quality inspection stage, and finally to the finished product delivery stage. It comprehensively identifies all features that can be collected and continuously monitored in real time within this process. According to the equipment operation category, process parameter category, and quality inspection category attribute type of each monitorable feature, as well as the corresponding data storage length, storage format, and storage permission requirements, an independent storage area that supports repeated data writing is divided for each monitorable feature in a unified data storage structure. All the divided writable storage areas are fixedly bound one-to-one with their respective monitorable features, ultimately forming a complete dynamic attribute dimension set covering the entire lifecycle.
[0022] For each dynamic attribute dimension in the dynamic attribute dimension set, the external data source that must be relied upon when its value is updated is identified one by one. This data source includes IoT device acquisition end and business system transmission end. A dedicated and unique data source interface is configured for each independent data source. Each dynamic attribute dimension is directly associated and bound with the data source interface that can trigger its value change, forming an unambiguous preliminary mapping relationship between dynamic attributes and corresponding business events.
[0023] Based on the established preliminary mapping relationship between dynamic attributes and business events, a complete logical structure is built, consisting of a precondition judgment unit and a post-action execution unit. The precondition judgment unit is used to fully parse the business event data transmitted in real time from the data source interface, extract the core state information in the business event data, and accurately match this information with the pre-set dynamic attribute value change trigger conditions item by item. The post-action execution unit is used to automatically generate new values that adapt to the writable data slots corresponding to the dynamic attribute dimensions when the precondition judgment unit outputs a matching result. The precondition judgment unit and the post-action execution unit are combined to form a standardized state change logic block.
[0024] Each dynamic attribute dimension in the complete dynamic attribute dimension set is fixedly bound to the corresponding configured state change logic block in a one-to-one correspondence. All the bound dynamic attribute dimensions and state change logic combinations are then uniformly structured, packaged, and standardized to form a set of state change rules that adapts to the full lifecycle management of this core element.
[0025] The system obtains complete real-time business event data from the data source interface through a preset data transmission channel. The business event data is then processed field by field according to preset field division rules. Valid business information is extracted from each field. All extracted valid business information is matched and verified against the preset dynamic attribute value change trigger conditions. When all extracted information is completely consistent with the change trigger conditions, it is determined that the trigger requirements for dynamic attribute value change are met, thus completing the construction of the precondition judgment sub-block.
[0026] When the precondition judgment sub-block outputs a judgment result that meets the change trigger condition, it accurately reads the valid business value used to represent the business status from the parsed business event data, and converts the valid business value into a standard new value that can be directly written to the writable data slot according to the preset value format standard, storage length specification and data type requirements of the writable data slot. In this way, the complete construction of the postcondition execution sub-block is completed.
[0027] The precondition judgment sub-block and the post-action execution sub-block are structurally integrated and functionally bound according to a fixed execution logic order, so that the two sub-blocks form a whole structure that is linked to execute, and finally form a complete state change logic block that can be directly called.
[0028] The static attribute set, dynamic attribute dimension set, and state change rule set of the core elements are uniformly encoded to obtain the integrated element ontology of the core elements. In this embodiment of the invention, the step of uniformly encoding the static attribute set, dynamic attribute dimension set, and state change rule set of the core elements to obtain the integrated element ontology of the core elements includes: Assign a globally unique static attribute code to each static attribute in the static attribute set with the master data coding standard as the core element, and obtain the encoded static attribute set; Using encoding rules compatible with static attribute encoding, a dynamic attribute code is assigned to each dynamic attribute dimension in the dynamic attribute dimension set of the core element, and an association index is established between each dynamic attribute code and the corresponding static attribute code to obtain the encoded dynamic attribute dimension set. Assign a rule code to each state change rule in the state change rule set, and bind the rule code with the dynamic attribute code involved in the associated index to obtain the encoded state change rule set; The encoded static attribute set, the encoded dynamic attribute dimension set, and the encoded state change rule set are aggregated and encapsulated according to the element ontology structure to form an integrated element ontology of the core elements.
[0029] Based on the three core standards of character composition, hierarchical division, and uniqueness verification specified in the preset master data coding specification, the character composition adopts a fixed-length combination of letters and numbers. The hierarchical division is distinguished in sequence according to the core element type, static attribute category, and individual attribute number. Uniqueness verification is ensured by comparing with the global coding library to ensure no duplicate codes. Each static attribute in the core element static attribute set is assigned a unique and conflict-free static attribute code in the entire system. All static attributes that have been coded and assigned are systematically collected and integrated according to attribute category to form a complete set of coded static attributes.
[0030] Following the rules of uniform character length, fixed segmentation format, and exclusive identifier prefix used in static attribute coding, the character length is kept completely consistent with that of static attribute coding. The segmentation format uses the same delimiter to distinguish between dimension type and dimension number. The identifier prefix directly adopts the identifier content representing the core element in the static attribute coding. Each dynamic attribute dimension in the dynamic attribute dimension set of the core element is assigned an exclusive and unique dynamic attribute code. Each dynamic attribute code is associated with a static attribute code that has a corresponding relationship in business logic, and a one-to-one fixed association is established pointing to the record. All dynamic attribute dimensions that have completed coding and have corresponding association indexes are systematically integrated to form a complete set of coded dynamic attribute dimensions.
[0031] Each state change rule in the state change rule set is assigned an independent and non-repeating rule code according to a globally unified coding standard. The coding follows the hierarchical logic of rule type, execution order, and associated dimensions. Each rule code is fixedly bound to all dynamic attribute codes involved in the actual execution of the rule to ensure that the association between the rule code and the dynamic attribute code cannot be modified. All state change rules that have completed the coding assignment and binding operation are centrally integrated to form a complete set of coded state change rules.
[0032] According to the predefined hierarchical structure of the element ontology and the standardized data encapsulation framework, the hierarchical structure of the element ontology is divided into three independent layers: static attribute storage layer, dynamic attribute storage layer, and state change rule storage layer. The data encapsulation framework has fixed storage partitions and internal association indexes. The encoded static attribute set, the encoded dynamic attribute dimension set, and the encoded state change rule set are placed in the dedicated data storage layer corresponding to the hierarchical structure in sequence, completing the internal association integration and closed secure storage of the three types of encoded datasets, and finally forming an integrated element ontology of core elements with complete structure and clear association.
[0033] By semantically binding real-time data from the manufacturing scenario with the integrated element ontology, a manufacturing element knowledge graph of the core elements is obtained. In this embodiment of the invention, the step of semantically binding real-time data in the manufacturing scenario with the integrated element ontology includes: Collect real-time data streams from IoT devices in manufacturing scenarios; Based on the data source identifier in the real-time data stream, locate the corresponding core elements and dynamic attribute dimensions in the integrated element ontology; Write the dynamic values in the real-time data stream into the writable data slots corresponding to the dynamic attribute dimensions, and associate them with timestamps to obtain real-time semantic instances of the dynamic attribute dimensions.
[0034] After writing the dynamic values from the real-time data stream into the writable data slots corresponding to the dynamic attribute dimension and associating them with timestamps to obtain real-time semantic instances of the dynamic attribute dimension, the method further includes: Obtain the static attribute codes associated with the dynamic attribute dimensions of the core elements' static attribute set; By associating and storing real-time semantic instances with static attribute encodings, a joint data structure is obtained; Based on the joint data structure, the precondition judgments in the set of rules for state changes of core elements are triggered to obtain state change event records.
[0035] The obtained manufacturing element knowledge graph of core elements includes: Collect all generated federated data structures and state change event records; Static attribute encoding of core elements is used as entity nodes, dynamic values in real-time semantic instances are used as dynamic attribute nodes of entity nodes, and state change event records are used as the association edges between entity nodes. By organizing entity nodes, dynamic attribute nodes, and associated edges according to a graph structure, a knowledge graph of manufacturing elements is obtained for the core elements.
[0036] By leveraging the dedicated data acquisition ports pre-configured on various IoT devices within the manufacturing scenario, real-time business data such as equipment operating parameters, production station status, and processing indicators are continuously acquired at a fixed acquisition frequency. The single data points generated sequentially according to time are sorted and integrated according to the acquisition sequence to form a coherent, complete, and traceable real-time data stream.
[0037] Extract the unique data source identifier built into each data packet in the real-time data stream, and match this identifier with all the core element identifiers pre-stored in the integrated element ontology one by one. When the identifier characters match completely, confirm the corresponding target core element, and then accurately locate the dynamic attribute dimension that matches the real-time data stream based on the pre-configured business relationship between the core element and the dynamic attribute dimension.
[0038] Extract dynamic values from the real-time data stream that reflect the actual state of the production site, write these values directly into the dedicated writable data slot corresponding to the dynamic attribute dimension that has been located, and simultaneously obtain the system standard time information of the data writing operation execution time. Establish an inseparable fixed association between this time information and the dynamic values, and finally form a real-time semantic instance of the dynamic attribute dimension that contains both dynamic values and time information.
[0039] Based on the pre-defined production business correspondence between dynamic attribute dimensions and static attributes, target static attributes that have a direct business relationship with the current dynamic attribute dimension are selected from the static attribute set of core elements, and the system-wide unique static attribute code corresponding to the target static attribute is extracted.
[0040] The real-time semantic instances of dynamic attribute dimensions are permanently and fixedly bound to the extracted static attribute codes. Following the data storage format and structure uniformly defined by the system, the bound real-time semantic instances and static attribute codes are synchronously stored in the designated dedicated data storage area, forming a standardized and clearly related joint data structure.
[0041] Extract all data content contained in the joint data structure, input the complete data content into the state change rule set corresponding to the core element, automatically start the pre-set condition judgment process in the rule set, and record and retain all information such as condition judgment result, data trigger source, operation execution time, etc., to form a state change event record with standardized format and complete content.
[0042] Traverse all data storage partitions within the system that have been divided, extract and centrally aggregate all the joint data structures that have completed generation operations and passed data integrity verification, and simultaneously extract and centrally aggregate all status change event records that have completed recording operations and whose status has been confirmed to be correct, thus completing the centralized aggregation of all target data required for the construction of the manufacturing element knowledge graph.
[0043] The static attribute encoding of core elements is used as the basic entity node that exists independently in the manufacturing element knowledge graph. The dynamic values contained in the real-time semantic instance are used as the dynamic attribute node that is attached to the corresponding basic entity node. The state change event record is used as the association edge that connects different entity nodes, thus completing the precise definition of all basic components of the manufacturing element knowledge graph.
[0044] According to the pre-set graph structure organization specifications and graph construction standards, entity nodes, dynamic attribute nodes and related edges are arranged in an orderly manner and bound to bidirectional associations. All graph components are uniformly encapsulated and structurally integrated to ultimately form a manufacturing element knowledge graph that is comprehensive and has complete associations of core elements.
[0045] When a production demand change instruction is received, the target generation elements in the production demand change instruction are extracted. In this embodiment of the invention, the step of extracting the target generation elements from the production demand change instruction when receiving the production demand change instruction includes: Read the instruction type field and instruction payload field from the message structure of the production demand change instruction; The change type is determined based on the instruction type field. When the change type is product switching or order adjustment, the identifier set is extracted from the instruction payload field. Each identifier in the identifier set is matched with a core element in the integrated element ontology to generate the target generated element.
[0046] The system decomposes and parses the standardized message structure corresponding to the production demand change instruction received by the system layer by layer. According to the predefined field partitioning rules and storage address mapping relationship of the message structure, it accurately locates the fixed storage location of the instruction type field that records the instruction type and the instruction load field that carries the core business data in the structure. It then reads out all the complete data content stored in the instruction type field and instruction load field without omission or truncation.
[0047] The read instruction type field data is compared character by character with the pre-set production change type standard data of the system. When the instruction type field data matches the character content of the product switching type standard and the order adjustment type standard completely and without any deviation, all character combinations used to uniquely identify manufacturing elements are extracted from the instruction load field. All extracted element identification characters are integrated according to a fixed arrangement rule to form a complete and non-repeating set of identifiers.
[0048] Each independent identifier is extracted one by one according to the preset arrangement order within the identifier set. Each independent identifier is compared with the globally unique identifier of all core elements pre-stored in the integrated element ontology. Only the core elements with completely identical characters and no differences in the comparison results are retained. All core elements that meet the requirements of precise matching are collected and integrated to finally generate the target generation element corresponding to the production demand change instruction.
[0049] Based on the target generated elements, locate the associated attributes in the manufacturing element knowledge graph, and change the attributes of the integrated element ontology according to the associated attributes.
[0050] In this embodiment of the invention, the step of locating the associated attributes in the manufacturing element knowledge graph based on the target generated elements, and changing the attributes of the integrated element ontology based on the associated attributes, includes: Using the identifier of the target generating element as the query key, retrieve the entity nodes directly associated with the target generating element in the manufacturing element knowledge graph; Starting from the retrieved entity nodes, along the association edges in the manufacturing element knowledge graph, extract all dynamic attribute nodes that are related to the target generating element, and determine the dynamic attribute code set corresponding to these dynamic attribute nodes as the association attribute; Based on the code of each dynamic attribute in the associated attributes, locate the corresponding writable data slot in the integrated element ontology and generate a list of attributes to be changed. According to the change parameters in the production demand change instruction, perform value overwrite and append operations on each writable data slot in the list of attributes to be changed.
[0051] Extract the globally unique identifier corresponding to the target generated element within the system as a dedicated query key for knowledge graph retrieval. Input this query key into the standardized retrieval channel preset by the manufacturing element knowledge graph. Through the retrieval channel, perform full-coverage character matching and comparison on all entity nodes within the graph, and filter out all entity nodes that have a direct business relationship with the target generated element.
[0052] Starting from all directly related entity nodes obtained through retrieval and matching, a full-path traversal is carried out without omission along the predefined business association edges within the manufacturing element knowledge graph. All dynamic attribute nodes that have direct or indirect relationships with the target generated element on the traversal path are collected. The exclusive dynamic attribute codes corresponding to all collected dynamic attribute nodes are centrally collected, and the resulting set of dynamic attribute codes is directly determined as the associated attributes required for this change.
[0053] Following the coding sequence, each dynamic attribute code in the associated attributes is traversed sequentially. Each dynamic attribute code is matched character by character with all the pre-stored coding information within the integrated element ontology. Once a complete match is found, the writable data slot corresponding to the dynamic attribute dimension of that dynamic attribute code is precisely located. All successfully located writable data slots are then organized in an orderly manner according to the coding order and business logic to generate a standardized list of attributes to be changed.
[0054] Extract clear and complete change parameter content from the business data segment of the production demand change instruction. The change parameter includes the target change value and the specified operation type. According to the target value and operation type specified by the change parameter, perform an overwrite operation to clear the original value and write the new value for each writable data slot in the change attribute list, or an append operation to add the new value on the basis of the original value.
[0055] like Figure 2 The diagram shown is a functional block diagram of a master data management system based on element ontology provided in an embodiment of the present invention.
[0056] The feature ontology-based master data management system described in this invention can be installed in an electronic device. Depending on the functions implemented, the feature ontology-based master data management system may include an attribute rule expansion module, a feature ontology construction module, a graph semantic fusion module, a change feature parsing module, and an ontology dynamic control module. The module described in this invention can also be referred to as a unit, which is a series of computer program segments that can be executed by the processor of an electronic device and can perform a fixed function, stored in the memory of the electronic device.
[0057] In this embodiment, the functions of each module / unit are as follows: The attribute rule extension module is used to extend and allocate dynamic attribute dimension sets and state change rule sets for core elements in the manufacturing scenario; The element ontology compilation module is used to uniformly encode the static attribute set, dynamic attribute dimension set, and state change rule set of the core elements to obtain an integrated element ontology of the core elements. The graph semantic fusion module is used to semantically bind real-time data in the manufacturing scenario with the integrated element ontology to obtain a manufacturing element knowledge graph of the core elements. The change element parsing module is used to extract the target generation elements in the production requirement change instruction when a production requirement change instruction is received. The ontology dynamic control module is used to locate the associated attributes in the manufacturing element knowledge graph based on the target generated elements, and to change the attributes of the integrated element ontology based on the associated attributes.
[0058] In the several embodiments provided by this invention, it should be understood that the disclosed methods and systems can be implemented in other ways. For example, the system embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and other division methods may be used in actual implementation.
[0059] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0060] Furthermore, the functional modules in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional modules.
[0061] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0062] The embodiments of this application can acquire and process relevant data based on artificial intelligence technology. Artificial intelligence is the theory, method, technology, and application system that uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results.
[0063] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.
Claims
1. A master data management method based on feature ontology, characterized in that, The method includes: To address the core elements in the manufacturing scenario, we expand and allocate a dynamic attribute dimension set and a state change rule set. The static attribute set, dynamic attribute dimension set, and state change rule set of the core elements are uniformly encoded to obtain the integrated element ontology of the core elements. By semantically binding real-time data from the manufacturing scenario with the integrated element ontology, a manufacturing element knowledge graph of the core elements is obtained. When a production demand change instruction is received, the target generation elements in the production demand change instruction are extracted. Based on the target generated elements, locate the associated attributes in the manufacturing element knowledge graph, and change the attributes of the integrated element ontology according to the associated attributes.
2. The master data management method based on feature ontology as described in claim 1, characterized in that, The aforementioned are core elements in the manufacturing scenario, which are expanded to include a dynamic attribute dimension set and a state change rule set, including: Assign writable data slots to the core elements as monitorable features throughout the entire manufacturing lifecycle to obtain a dynamic attribute dimension set; Define a set of dynamic attribute dimensions to trigger changes, and the data source interface corresponding to the value change of each dynamic attribute dimension to obtain the initial mapping relationship between dynamic attributes and business events; Based on the initial mapping relationship, set up the state change logic block; By associating and encapsulating the dynamic attribute dimension set with the state change logic block, a set of state change rules for the core elements is obtained.
3. The master data management method based on feature ontology as described in claim 2, characterized in that, The step of setting the state change logic block based on the initial mapping relationship includes: The system consists of a precondition judgment sub-block and a post-action execution sub-block. The precondition judgment sub-block is used to parse business event data from the data source interface to determine whether the change trigger condition is met. The post-action execution sub-block is used to generate a new value for the writable data slot when the trigger condition is met.
4. The master data management method based on feature ontology as described in claim 1, characterized in that, The unified encoding of the static attribute set, dynamic attribute dimension set, and state change rule set of the core elements to obtain the integrated element ontology of the core elements includes: Assign a globally unique static attribute code to each static attribute in the static attribute set with the master data coding standard as the core element, and obtain the encoded static attribute set; Using encoding rules compatible with static attribute encoding, a dynamic attribute code is assigned to each dynamic attribute dimension in the dynamic attribute dimension set of the core element, and an association index is established between each dynamic attribute code and the corresponding static attribute code to obtain the encoded dynamic attribute dimension set. Assign a rule code to each state change rule in the state change rule set, and bind the rule code with the dynamic attribute code involved in the associated index to obtain the encoded state change rule set; The encoded static attribute set, the encoded dynamic attribute dimension set, and the encoded state change rule set are aggregated and encapsulated according to the element ontology structure to form an integrated element ontology of the core elements.
5. The master data management method based on feature ontology as described in claim 1, characterized in that, The step of semantically binding real-time data from the manufacturing scenario with the integrated element ontology includes: Collect real-time data streams from IoT devices in manufacturing scenarios; Based on the data source identifier in the real-time data stream, locate the corresponding core elements and dynamic attribute dimensions in the integrated element ontology; Write the dynamic values in the real-time data stream into the writable data slots corresponding to the dynamic attribute dimensions, and associate them with timestamps to obtain real-time semantic instances of the dynamic attribute dimensions.
6. The master data management method based on feature ontology as described in claim 5, characterized in that, After writing the dynamic values from the real-time data stream into the writable data slots corresponding to the dynamic attribute dimension and associating them with timestamps to obtain real-time semantic instances of the dynamic attribute dimension, the method further includes: Obtain the static attribute codes associated with the dynamic attribute dimensions of the core elements' static attribute set; By associating and storing real-time semantic instances with static attribute encodings, a joint data structure is obtained; Based on the joint data structure, the precondition judgments in the set of rules for state changes of core elements are triggered to obtain state change event records.
7. The master data management method based on feature ontology as described in claim 6, characterized in that, The obtained manufacturing element knowledge graph of core elements includes: Collect all generated federated data structures and state change event records; Static attribute encoding of core elements is used as entity nodes, dynamic values in real-time semantic instances are used as dynamic attribute nodes of entity nodes, and state change event records are used as the association edges between entity nodes. By organizing entity nodes, dynamic attribute nodes, and associated edges according to a graph structure, a knowledge graph of manufacturing elements is obtained for the core elements.
8. The master data management method based on feature ontology as described in claim 1, characterized in that, When a production demand change instruction is received, the step of extracting the target generation elements from the production demand change instruction includes: Read the instruction type field and instruction payload field from the message structure of the production demand change instruction; The change type is determined based on the instruction type field. When the change type is product switching or order adjustment, the identifier set is extracted from the instruction payload field. Each identifier in the identifier set is matched with a core element in the integrated element ontology to generate the target generated element.
9. The master data management method based on feature ontology as described in claim 1, characterized in that, The step of generating elements based on the target, locating the associated attributes in the manufacturing element knowledge graph, and modifying the attributes of the integrated element ontology based on the associated attributes includes: Using the identifier of the target generating element as the query key, retrieve the entity nodes directly associated with the target generating element in the manufacturing element knowledge graph; Starting from the retrieved entity nodes, along the association edges in the manufacturing element knowledge graph, extract all dynamic attribute nodes that are related to the target generating element, and determine the dynamic attribute code set corresponding to these dynamic attribute nodes as the association attribute; Based on the code of each dynamic attribute in the associated attributes, locate the corresponding writable data slot in the integrated element ontology and generate a list of attributes to be changed. According to the change parameters in the production demand change instruction, perform value overwrite and append operations on each writable data slot in the list of attributes to be changed.
10. A master data management system based on feature ontology, characterized in that, The system for implementing the feature ontology-based master data management method of claim 1, comprising: The attribute rule extension module is used to extend and assign dynamic attribute dimension sets and state change rule sets to core elements in the manufacturing scenario; The element ontology compilation module is used to uniformly encode the static attribute set, dynamic attribute dimension set, and state change rule set of core elements to obtain an integrated element ontology of the core elements. The graph semantic fusion module is used to semantically bind real-time data in the manufacturing scenario with the integrated element ontology to obtain the manufacturing element knowledge graph of the core elements. The change element parsing module is used to extract the target generation elements from the production requirement change instruction when a production requirement change instruction is received. The ontology dynamic adjustment module is used to locate the associated attributes in the manufacturing element knowledge graph based on the target generated elements, and to change the attributes of the integrated element ontology based on the associated attributes.
