BPM engine-based internal and external data interaction fusion method and system
By building a tree process map and generating a business process execution model in the BPM engine, the problem of insufficient efficiency and accuracy of traditional BPM systems in processing third-party document data from different sources is solved, and more efficient and flexible data processing is achieved.
Patent Information
- Application Number
- CN202410750126.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-10
AI Technical Summary
When traditional BPM systems process third-party document data from different sources, it is difficult to find the best processing process, resulting in insufficient processing efficiency and accuracy, and unable to meet dynamic business needs.
Using the internal and external data interaction and fusion method based on the BPM engine, multiple sets of process management chains are pre-configured to build a tree process map. By analyzing the process data of the target data, the most consistent process chain is determined, and a business process execution model is generated for processing.
It significantly improves the efficiency and accuracy of the BPM engine when processing internal and external data interaction and fusion, meets dynamic business needs, and ensures the consistency and efficiency of data processing.
Smart Images

Figure CN118627876A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data flow management, and in particular, relates to a method and system for internal and external data interaction and fusion based on a BPM engine. Background Art
[0002] With the continuous development of business process management (BPM) technology, enterprises and organizations are increasingly relying on BPM systems to optimize and automate their internal and external business processes. As a core component, the BPM engine helps enterprises improve operational efficiency by defining, executing, monitoring and optimizing business processes. However, when processing third-party document data from different sources, traditional BPM systems face the problem that third-party document data comes from a wide range of sources, has diverse formats, and complex business logic. It is difficult for a single process management chain to process and integrate them efficiently. As the business environment changes, processes need to be flexibly adjusted, but traditional static process definitions are difficult to meet the needs of dynamic adjustment. Summary of the invention
[0003] The purpose of the present invention is to provide an internal and external data interaction and fusion method and system based on a BPM engine, aiming to solve the problem in the prior art that the BPM engine cannot accurately find the best processing flow when processing third-party document data from different sources.
[0004] The technical solution of the present invention is as follows: a method for interactive fusion of internal and external data based on a BPM engine, comprising:
[0005] Preparing several groups of process management chains for the BPM engine in advance; wherein the process management chains include several process management nodes that are progressive in sequence, the process management chains are used to perform process management on the third-party document data processed by the BPM engine, and the process management nodes are used to manage a section of process data in the third-party document data processed by the BPM engine;
[0006] Combining the process management chains of each group to construct a tree-like process map; wherein the tree-like process map is used to describe the association relationship between the process management chains of each group;
[0007] Acquire target third-party document data waiting to be processed by the BPM engine, and perform data flow analysis on the target third-party document data to obtain each section of process data of the target third-party document data;
[0008] Analyzing and processing each segment of process data of the target third-party document data through the tree-like process map, so as to determine each process management node corresponding to each segment of the process data in the tree-like process map, and marking each process management node corresponding to each segment of the process data as a node to be linked;
[0009] Based on the tree-like process map, each of the nodes to be linked is analyzed and processed for the most consistent process chain, so as to obtain the most consistent process chain corresponding to each of the nodes to be linked;
[0010] A corresponding business process execution model is generated according to the most consistent process chain, and process execution processing is performed on the target third-party document data according to the business process execution model.
[0011] The steps of combining the process management chains of each group to construct a tree-like process map include:
[0012] Analyze and process each of the process management nodes in each group of the process management chains, and generate a node label for each of the process management nodes according to the analysis and processing results; wherein the node label includes a chain label, a process label, and a position label, the chain label is used to describe which group of the process management chains the process management node belongs to, the process label is used to describe the process data processed by the process management node, and the position label is used to describe the relative position of the process management node in the process management chain;
[0013] Performing a search and link process on the process management nodes with the same process tag in each of the process management chains, so that each of the process management chains with the process management node can be retrieved through the process management node;
[0014] According to the chain mark and the position mark of each of the process management nodes with the same process mark, the chain relative position relationship of each of the process management chains to which each of the process management nodes with the same process mark belongs is analyzed and processed, and the chain relative position of each of the process management chains is set according to the results of the analysis and processing to obtain the tree-like process map.
[0015] The steps of analyzing and processing the relative position relationship of the chains of the process management chains to which the process management nodes with the same process mark belong according to the chain mark and the position mark of the process management nodes with the same process mark, and setting the relative position of the chains of the process management chains according to the result of the analysis and processing to obtain the tree-like process map include:
[0016] Taking the process management node having the same process tag as a reference node;
[0017] Each of the process management nodes having the same chain mark as the reference node and a different position mark is used as an extended node;
[0018] According to the position mark of the reference node and the position marks of each extended node, each extended node is extended on the reference node to obtain a reference extended structure of the reference node; wherein the reference extended structure includes each reference extended chain of the reference node, and the reference extended chain is a display of each process management chain based on the reference node;
[0019] The reference extended structures of the respective reference nodes are collectively used as the tree-like flow chart.
[0020] The steps of analyzing and processing the most consistent process chain for each of the nodes to be linked based on the tree-like process map to obtain the most consistent process chain corresponding to each of the nodes to be linked include:
[0021] Determine the reference node corresponding to each of the nodes to be linked based on the tree-like flow chart;
[0022] Retrieve and process each of the to-be-linked nodes of the target third-party document data according to the reference extension structure of each of the reference nodes, so as to determine the extension node corresponding to each of the to-be-linked nodes of the target third-party document data in the reference extension structure of each of the reference nodes;
[0023] Mark the extension nodes of each of the to-be-linked nodes corresponding to the target third-party document data as retrieval nodes, and mark the reference extension chain where the retrieval node is located as the retrieval extension chain of the to-be-linked node, and collectively form a target process chain with each of the to-be-linked nodes of the target third-party document data, and perform chain similarity analysis and processing on each of the retrieval extension chains and the target process chain to obtain chain similarity between each of the retrieval extension chains and the target process chain; wherein the chain similarity is used to describe the degree of conformity between the retrieval extension chain and each of the to-be-linked nodes of the target third-party document data;
[0024] A comprehensive analysis is performed based on the chain similarity between each of the search extension chains of each of the to-be-linked nodes of the target third-party document data and the target process chain to determine the most consistent process chain in the tree-like process map.
[0025] The step of performing comprehensive analysis and processing based on the chain similarity between each of the search extension chains of each of the to-be-linked nodes of the target third-party document data and the target process chain to determine the most consistent process chain in the tree-like process map includes:
[0026] Perform chain structure difference analysis and processing on each of the search extension chains and the target process chain of each of the to-be-linked nodes of the target third-party document data, respectively, to obtain chain structure difference features between each of the search extension chains and the target process chain; wherein the chain structure difference features include chain length difference features and chain sequence difference features;
[0027] According to the chain structure difference characteristics between each of the retrieval extension chains and the target process chain, each of the retrieval extension chains is divided into a same-target chain and a different-target chain; wherein the same-target chain and the target process chain have the same process management target, and the different-target chain has a different process management target from the target process chain;
[0028] Perform multi-dimensional process attribute analysis on each of the target chains to obtain the chain attribute characteristics of the target process chain; wherein the chain attribute characteristics include chain stability, chain efficiency and chain redundancy;
[0029] Comprehensive analysis and processing are performed according to the chain attribute characteristics of each of the same-target chains to determine the most suitable process chain among each of the same-target chains.
[0030] According to the chain structure difference characteristics between each of the search extension chains and the target process chain, the step of dividing each of the search extension chains into same-target chains and different-target chains comprises:
[0031] Judging and processing the chain sequence difference characteristics between the search extension chain and the target process chain according to a preset standard, and classifying the search extension chain whose chain sequence difference characteristics do not meet the preset standard as a different target chain;
[0032] Analyzing and processing the chain length difference characteristics of the search extension chain whose chain sequence difference characteristics meet the preset standard, determining whether the chain length difference characteristics of the search extension chain belong to a positive length difference or a negative length difference, and classifying the search extension chain whose chain length difference characteristics belong to a negative length difference as a different target chain;
[0033] Performing node division processing on the search extension chain whose chain length difference characteristic belongs to the positive length difference, dividing the extension nodes in the search extension chain that are inconsistent with the target process chain into redundant nodes, and analyzing and processing the management process corresponding to each redundant node to determine whether the management process corresponding to the redundant node is an additional process or a coordination process; wherein the additional process is a main process independent of the management process fed back by the target process chain, and the coordination process is an additional process for adjusting and supplementing the management process fed back by the target process chain;
[0034] The retrieval extension chain having the redundant nodes corresponding to the additional process is divided into a different-target chain, and the retrieval extension chain having all the redundant nodes corresponding to the coordination process is divided into a same-target chain.
[0035] The step of performing multi-dimensional process attribute analysis on each of the target chains to obtain the chain attribute characteristics of the target process chain includes:
[0036] Classify the extended nodes in the search extended chain that are inconsistent with the target process chain as redundant nodes;
[0037] Analyzing and processing the correlation between the process corresponding to the redundant node and the management process fed back by the target process chain, and generating the chain stability of the search extension chain according to the correlation;
[0038] Analyze and process the influence degree between the process corresponding to the redundant node and the management process fed back by the target process chain, and generate the chain efficiency of the search extension chain according to the influence degree;
[0039] Generate the chain redundancy of the retrieval extension chain according to the number of the redundant nodes;
[0040] The chain stability, the chain efficiency and the chain redundancy of all the redundant nodes on the retrieval extension chain are used as the chain attribute characteristics of the retrieval extension chain.
[0041] The internal and external data interaction and fusion system based on the BPM engine is used to implement the internal and external data interaction and fusion method based on the BPM engine.
[0042] The beneficial effects of the present invention are as follows: the present invention pre-configures several groups of process management chains for the BPM engine to construct a tree-like process map that describes the association relationship, uses the tree-like process map to analyze the process data of each segment of the target third-party document data to obtain the most consistent process chain, generates a business process execution model based on the most consistent process chain, and executes process processing on the target data. By flexibly configuring and expanding the process management chain, combined with the tree-like process map for intelligent analysis and adaptation, the efficiency and accuracy of the BPM engine in processing the interaction and integration of internal and external data are significantly improved, dynamic business needs are met, the consistency and efficiency of data processing are ensured, and the problem that the BPM engine in the prior art cannot accurately find the best processing flow when processing third-party document data from different sources is solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a schematic diagram of the steps of the internal and external data interactive fusion method based on the BPM engine provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0044] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0045] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0046] The implementation of the present invention is described in detail below in conjunction with specific embodiments.
[0047] Reference Figure 1 As shown, a preferred embodiment of the present invention is provided.
[0048] In a first aspect, the present invention provides an internal and external data interaction and fusion method based on a BPM engine, comprising:
[0049] S1: Preparing several groups of process management chains for the BPM engine in advance; wherein the process management chains include several process management nodes that are progressive in sequence, the process management chains are used to perform process management on the third-party document data processed by the BPM engine, and the process management nodes are used to manage a section of process data in the third-party document data processed by the BPM engine;
[0050] S2: Combining the process management chains of each group to construct a tree-like process map; wherein the tree-like process map is used to describe the association relationship between the process management chains of each group;
[0051] S3: Acquire the target third-party document data waiting to be processed by the BPM engine, and perform data flow analysis on the target third-party document data to obtain each section of process data of the target third-party document data;
[0052] S4: Analyze and process each segment of process data of the target third-party document data through the tree-like process map, so as to determine each process management node corresponding to each segment of the process data in the tree-like process map, and mark each process management node corresponding to each segment of the process data as a node to be linked;
[0053] S5: Analyzing and processing the most suitable process chain for each of the nodes to be linked based on the tree-like process map, so as to obtain the most suitable process chain corresponding to each of the nodes to be linked;
[0054] S6: Generate a corresponding business process execution model according to the most consistent process chain, and perform process execution processing on the target third-party document data according to the business process execution model.
[0055] Specifically, in step S1 of the embodiment provided by the present invention, several groups of process management chains are first prepared. The process management chain is used to perform process management on third-party document data. Therefore, it is necessary to first analyze and plan the process requirements, understand the specific requirements and processes for processing third-party document data, sort out the business process into specific tasks and steps, clarify the responsibilities and data processing requirements of each process node, and define the functions and input and output data of each process management node. For example: data verification nodes, approval nodes, data conversion nodes, etc., according to the sequence of business processes, the nodes are arranged in sequence to form a complete process management chain, and the designed nodes are connected in the logical order of the business process to form a complete set of process management chains, and the parameters and conditions of each node are configured, including data format, verification rules, approval conditions, etc.
[0056] It should be noted that the preparation of process management chains is a massive project, which requires the preparation of process management chains according to various conventional situations, and the corresponding process management chains are prepared for each situation to obtain several groups of process management chains corresponding to the BPM engine.
[0057] Specifically, in step S2 of the embodiment provided by the present invention, detailed information of each group of process management chains is collected, including the function, input and output data, sequence, etc. of each process management node, to determine the association relationship between the groups of process management chains, for example, whether the node of a process chain is consistent with the node of another process chain.
[0058] More specifically, a unique identifier is assigned to each process management node to facilitate subsequent reference and association, and the nodes are classified according to their functions and roles, such as data verification nodes, approval nodes, conversion nodes, etc.
[0059] More specifically, the root node of the tree-like process map, that is, the initial starting point of the process, is determined according to the initial node of each process management chain. According to the structure of the process management chain, branch nodes are gradually added from the root node to form a preliminary tree structure. In the tree structure, the same nodes of each process management chain are in a linked state, that is, through this node, it can be transferred to other process management chains with this node.
[0060] More specifically, the nodes in different process management chains are mapped according to the previously determined association relationships. For example, when the output of the last node of a process chain is used as the input of the first node of another process chain, a relevant connection is made, and a graphical tool is used to visualize the tree-like process map for easy understanding and analysis. The interactive function of the map is designed to allow users to click on the node to view detailed information, or dynamically adjust the node position to better display the association relationship.
[0061] It can be understood that the tree-like process map clearly shows the relationship between each group of process management chains, making the entire process system clear at a glance. Through graphical display, even complex processes can be intuitively understood and analyzed.
[0062] Specifically, in step S3 of the embodiment provided by the present invention, target third-party document data waiting for processing by the BPM engine is obtained. The target third-party document data is third-party document data waiting for process management by the BPM engine. The data flow of the target third-party document data is analyzed and processed to determine the various process data possessed by the target third-party document data.
[0063] It should be noted that process data is one end of the target third-party document data, which is used to describe the management process corresponding to each segment of data, that is, the process that should be executed on each segment of data.
[0064] Specifically, in step S4 of the embodiment provided by the present invention, the target third-party document data is logically segmented according to the tree-like process map, the business process part corresponding to each segment of data is identified, and features are extracted from each segment of data to help identify its corresponding process node. For example, identification is performed based on key fields, data patterns, timestamps and other features, and each segment of data is matched according to the tree-like process map to determine the specific process management node to which each segment of data belongs, and each matched process management node is marked as a node to be linked. The marking operation can be implemented by setting node attributes, adding marking tags, etc., updating the status of the nodes in the map, and ensuring that these nodes can be identified as nodes to be linked in subsequent processing steps.
[0065] More specifically, corresponding data processing is performed on the process management nodes marked as nodes to be linked. According to the definition of the tree-like process map, the nodes to be linked are logically connected to ensure that the process data can flow along the predetermined path. The processed process data and node information are stored in the database to facilitate subsequent query and tracking.
[0066] It can be understood that through the precise matching of the tree-like process map, it is ensured that each segment of process data can be accurately matched to the corresponding management node, thereby improving the accuracy of data processing. By clearly marking the nodes to be linked, omissions and errors in process processing can be avoided, thereby improving the accuracy of the overall process processing. The tree-like process map is used to automatically analyze process data, improve processing efficiency, reduce manual intervention, and increase the overall processing speed.
[0067] Specifically, in step S5 of the embodiment provided by the present invention, a pre-built tree-like flow chart is loaded to ensure that it includes all possible process nodes and their interrelationships, and the nodes to be linked marked in the previous step are imported into the current processing environment to prepare for process chain analysis in order to select the optimal process chain, that is, the most consistent process chain, in the tree-like flow chart.
[0068] More specifically, the selected most consistent process chain is verified to ensure that its logic is correct and the data is consistent. If problems are found in the selected process chain, corresponding adjustments and optimizations are made to ensure the rationality and feasibility of the process chain. The final most consistent process chain is output for subsequent processing.
[0069] Specifically, in step S6 of the embodiment provided by the present invention, the most consistent process chain obtained from the previous step is parsed, detailed information of each node is extracted, and based on the parsing results, the structure of the business process execution model is defined, which usually includes process nodes, connection relationships between nodes, event trigger conditions, business rules, etc.
[0070] More specifically, use business process management (BPM) tools or process modeling languages (such as BPMN, UML, etc.) to build a visual business process execution model, verify the generated process model, ensure the logical correctness and completeness of the model, and meet business needs. Import target document data from a third-party system or database to ensure that the data format and content meet processing requirements, and pre-process the imported document data, including data cleaning, format conversion, missing value filling, etc., to ensure data quality.
[0071] More specifically, configure the business process execution engine so that it can read and execute the generated business process execution model. According to business requirements and process model characteristics, set the engine parameters and execution strategies, including concurrent processing, error handling mechanism, logging, etc. Start the process instance in the process engine, load the business process execution model and target third-party document data, and execute the operation steps in the process nodes step by step according to the definition of the business process execution model, including data processing, conditional judgment, calling external services, etc. Output the results of the business process execution, including processed document data, execution logs, exception reports, etc.
[0072] The present invention provides a method for interactive fusion of internal and external data based on a BPM engine, which has the following beneficial effects:
[0073] The present invention pre-configures several groups of process management chains for the BPM engine to construct a tree-like process map that describes the association relationship, uses the tree-like process map to analyze each segment of process data of the target third-party document data to obtain the most consistent process chain, generates a business process execution model based on the most consistent process chain, and executes process processing on the target data. By flexibly configuring and expanding the process management chain and combining the tree-like process map for intelligent analysis and adaptation, the efficiency and accuracy of the BPM engine in processing the interaction and fusion of internal and external data are significantly improved, dynamic business needs are met, the consistency and efficiency of data processing are ensured, and the problem in the prior art that the BPM engine cannot accurately find the best processing flow when processing third-party document data from different sources is solved.
[0074] Preferably, the steps of combining the process management chains of each group to construct a tree-like process map include:
[0075] S21: Analyze and process each of the process management nodes in each group of the process management chains respectively, and generate a node label for each of the process management nodes according to the analysis and processing results; wherein the node label includes a chain label, a process label and a position label, the chain label is used to describe which group of the process management chains the process management node belongs to, the process label is used to describe the process data processed by the process management node, and the position label is used to describe the relative position of the process management node in the process management chain;
[0076] S22: performing a search and link process on the process management nodes with the same process mark in each of the process management chains, so that each of the process management chains with the process management node can be retrieved through the process management node;
[0077] S23: According to the chain mark and the position mark of each of the process management nodes with the same process mark, the chain relative position relationship of each of the process management chains to which each of the process management nodes with the same process mark belongs is analyzed and processed, and the chain relative position of each of the process management chains is set according to the result of the analysis and processing to obtain the tree-like process map.
[0078] Specifically, parse each process management node in each group of process management chains, extract detailed information of the nodes, and generate node labels. The node labels include chain tags: recording which group of process management chains the node belongs to, process tags: describing the specific process data processed by the node, and position tags: recording the relative position of the node in the process management chain.
[0079] More specifically, the process management nodes in all process management chains are searched to find out the nodes with the same process tag, and the process management nodes with the same process tag are linked to ensure that all nodes with the same tag and the process management chains to which they belong can be retrieved through one node.
[0080] More specifically, based on the chain marks and position marks of nodes with the same process mark, the process management chains to which these nodes belong are analyzed to determine the relative position relationship between the chains. Based on the analysis results, the relative position of each process management chain is set to ensure that the hierarchical relationship and relative position between the chains in the process map are clear. All process management chains are merged according to the set relative position relationship to construct a tree-structured process map. The generated tree-structured process map is verified to ensure that the structure is correct and the node link relationship is correct.
[0081] It can be understood that by generating unified node labels, the identification consistency of each process management node in different process management chains is ensured. The use of node labels facilitates the rapid retrieval and association of process management nodes. Through retrieval link processing, the correlation between different process management chains is enhanced, so that other chains with the same process label can be quickly located from one node, effectively integrating relevant information in different process management chains, and improving the overall efficiency of process management. The relative position relationship of the process management chain is analyzed and set to ensure that the hierarchical relationship of each chain in the diagram is clear. The tree-like process diagram can display the relationship between process management chains in a structured manner, which is easy to understand and analyze.
[0082] Preferably, according to the chain mark and the position mark of each of the process management nodes with the same process mark, the relative position relationship of the chain is analyzed and processed for each of the process management chains to which each of the process management nodes with the same process mark belongs, and the relative position of each of the process management chains is set according to the result of the analysis and processing to obtain the tree-like process map, the steps include:
[0083] S231: taking the process management node having the same process tag as a reference node;
[0084] S232: taking each of the process management nodes having the same chain mark as the reference node and a different position mark as the reference node as an extended node;
[0085] S233: According to the position mark of the reference node and the position marks of each extended node, each extended node is extended on the reference node to obtain a reference extended structure of the reference node; wherein the reference extended structure includes each reference extended chain of the reference node, and the reference extended chain is a display of each process management chain based on the reference node;
[0086] S234: The reference extension structures of the respective reference nodes are collectively used as the tree-like flow chart.
[0087] Specifically, one process management node with the same process tag is selected as a reference node. The selection of the reference node can be based on specific criteria (such as the first node that appears, the node with the highest weight, etc.), or each process management node can be selected as a reference node in a traversal manner.
[0088] More specifically, nodes with the same chain tag as the base node but different position tags are selected from the nodes with the same process tag, and these nodes are called extended nodes.
[0089] More specifically, the relative position marks of the base node and each extended node are analyzed, and according to the position marks, the extended node is extended on the base node to form a base extension structure of the base node. This structure shows the layout of each process management chain based on the base node. Each base extension chain is based on the base node and shows its related process management chain. The base extension structures of all base nodes are integrated to form a complete tree-like process map.
[0090] It can be understood that through the distinction between baseline nodes and extended nodes, the hierarchical relationship of the process management chain is clearer. The baseline extension structure provides an intuitive display method, which enables complex process management chains to be presented in an easy-to-understand way. The setting of the baseline node allows users to quickly locate key process nodes, and through the extended structure, they can quickly understand the relevant process management chain. The setting of the extension node shows the relationship between all process management chains related to the baseline node, which is convenient for overall grasp.
[0091] Preferably, the step of analyzing and processing the most consistent process chain for each of the nodes to be linked based on the tree-like process map to obtain the most consistent process chain corresponding to each of the nodes to be linked includes:
[0092] S51: Determine the reference node corresponding to each of the nodes to be linked based on the tree-like flow chart;
[0093] S52: performing a search process on each of the to-be-linked nodes of the target third-party document data according to the reference extension structure of each of the reference nodes, so as to determine the extension node corresponding to each of the to-be-linked nodes of the target third-party document data in the reference extension structure of each of the reference nodes;
[0094] S53: Mark the extension nodes of each of the to-be-linked nodes corresponding to the target third-party document data as retrieval nodes, and mark the reference extension chain where the retrieval node is located as the retrieval extension chain of the to-be-linked node, and collectively form a target process chain with each of the to-be-linked nodes of the target third-party document data, and perform chain similarity analysis and processing on each of the retrieval extension chains and the target process chain to obtain the chain similarity between each of the retrieval extension chains and the target process chain; wherein the chain similarity is used to describe the degree of conformity between the retrieval extension chain and each of the to-be-linked nodes of the target third-party document data;
[0095] S54: Perform comprehensive analysis and processing based on the chain similarity between each of the search extension chains of each of the to-be-linked nodes of the target third-party document data and the target process chain, so as to determine the most consistent process chain in the tree-like process map.
[0096] Specifically, a tree-like process map is used to determine the reference node corresponding to each node to be linked, which is matched based on the process tag or other specific identifiers. In the reference extension structure of each reference node, each node to be linked of the target third-party document data is retrieved to determine their extension node positions, and the found extension nodes are marked as retrieval nodes, and the reference extension chain where the retrieval node is located is marked as the retrieval extension chain of the node to be linked.
[0097] More specifically, the nodes to be linked of the target third-party document data are grouped into a target process chain, and chain similarity analysis is performed on each retrieval extension chain and the target process chain to calculate the similarity between them. Chain similarity is used to describe the degree of match between the retrieval extension chain and the nodes to be linked of the target third-party document data. The indicators used include the number, order, and attribute matching of the nodes. A comprehensive analysis is performed based on the chain similarity to determine a most suitable retrieval extension chain as the most matching process chain.
[0098] It can be understood that by referring to the benchmark nodes, the positioning of the nodes to be linked in the process map is more accurate. The detailed extended structure retrieval improves the precision and accuracy of the matching process. Through chain similarity analysis, the matching degree between the extended chain and the target process chain can be quantified, ensuring the scientificity and objectivity of the process chain matching. Comprehensive analysis and processing make the final selection of the most suitable process chain not only the optimal match for a single node, but also the best match for the entire chain. The structured retrieval method based on the tree-like process map improves the efficiency and accuracy of data association.
[0099] Preferably, the step of performing comprehensive analysis and processing based on the chain similarity between each of the search extension chains of each of the to-be-linked nodes of the target third-party document data and the target process chain to determine the most consistent process chain in the tree-like process map includes:
[0100] S541: Analyze and process the chain structure differences of each of the search extension chains and the target process chain of each of the to-be-linked nodes of the target third-party document data to obtain chain structure difference features of each of the search extension chains and the target process chain; wherein the chain structure difference features include chain length difference features and chain sequence difference features;
[0101] S542: According to the chain structure difference characteristics between each of the search extension chains and the target process chain, each of the search extension chains is divided into a same-target chain and a different-target chain; wherein the same-target chain and the target process chain have the same process management target, and the different-target chain has a different process management target from the target process chain;
[0102] S543: Perform multi-dimensional process attribute analysis on each of the target chains to obtain chain attribute characteristics of the target process chain; wherein the chain attribute characteristics include chain stability, chain efficiency, and chain redundancy;
[0103] S544: Perform comprehensive analysis and processing according to the chain attribute characteristics of each of the same-target chains to determine the most suitable process chain among each of the same-target chains.
[0104] Specifically, the length difference between each search extension chain and the target process chain is calculated. For example, the chain length can be represented by the number of nodes, and the length difference is the difference between the number of nodes of the two chains.
[0105] More specifically, the node order difference between the search extension chain and the target process chain is analyzed. This can be achieved by comparing the order of the nodes, for example, using the edit distance method to measure the order difference between the two chains.
[0106] More specifically, based on the length and sequence differences, the chain structure difference features of each retrieval extension chain are extracted. These features will be used for subsequent chain classification and analysis. Based on the chain structure difference features, the retrieval extension chain is divided into the same-target chain and the different-target chain. The same-target chain refers to a chain with the same or similar process management goals as the target process chain, and the different-target chain refers to a chain with different process management goals. The accuracy of the classification is ensured by further verification of the process management goals.
[0107] More specifically, chain stability is used to analyze the stability of the same-target chain under different operating conditions, which involves indicators such as node execution time and success rate. Chain efficiency is used to evaluate the execution efficiency of the same-target chain, which can be measured by indicators such as average processing time and resource utilization. Chain redundancy is used to analyze whether there are redundant nodes or operations in the chain and calculate the redundancy characteristics.
[0108] More specifically, the multi-dimensional process attributes of each same-target chain are aggregated and calculated to obtain comprehensive chain attribute characteristics, which are then standardized to facilitate subsequent comprehensive analysis. The chain attribute characteristics of each same-target chain are compared and analyzed to find the optimal chain in terms of chain stability, efficiency, and redundancy. Based on the weight and comprehensive performance of each attribute, each same-target chain is scored to determine the chain with the highest comprehensive score.
[0109] More specifically, based on the comprehensive score, the most consistent process chain is selected as the final most consistent process chain, and the most consistent process chain is verified to ensure its effectiveness and reliability in actual operations.
[0110] It can be understood that through detailed analysis of chain length and sequence differences, accurate matching of the nodes to be linked is ensured, thereby improving matching accuracy. Through analysis of multi-dimensional attributes such as chain stability, efficiency and redundancy, the chain selection process is further optimized, and the retrieval extension chain is divided into same-target chains and different-target chains, which helps to clarify process management goals and optimize process management. Through comprehensive analysis and scoring, it is ensured that the most suitable process chain selected performs best in multiple dimensions, thereby improving the efficiency and effectiveness of process management. By extracting chain structure difference characteristics and chain attribute characteristics, the degree of refinement of data association is enhanced.
[0111] Preferably, according to the chain structure difference characteristics between each of the search extension chains and the target process chain, the step of dividing each of the search extension chains into same-target chains and different-target chains comprises:
[0112] S5421: judging and processing the chain sequence difference characteristics between the search extension chain and the target process chain according to a preset standard, and classifying the search extension chain whose chain sequence difference characteristics do not meet the preset standard as a different target chain;
[0113] S5422: analyzing and processing the chain length difference feature of the search extension chain whose chain sequence difference feature meets the preset standard, determining whether the chain length difference feature of the search extension chain is a positive length difference or a negative length difference, and classifying the search extension chain whose chain length difference feature is a negative length difference as a different target chain;
[0114] S5423: Perform node division processing on the search extension chain whose chain length difference characteristic belongs to the positive length difference, divide the extension nodes in the search extension chain that are inconsistent with the target process chain into redundant nodes, and analyze and process the management process corresponding to each redundant node to determine whether the management process corresponding to the redundant node is an additional process or a coordination process; wherein the additional process is a main process independent of the management process fed back by the target process chain, and the coordination process is an additional process for adjusting and supplementing the management process fed back by the target process chain;
[0115] S5424: Divide the retrieval extension chain having the redundant nodes corresponding to the additional process into different-target chains, and divide the retrieval extension chain having all the redundant nodes corresponding to the coordination process into the same-target chain.
[0116] Specifically, according to the preset standard, the chain sequence difference characteristics between each retrieval extension chain and the target process chain are judged, and the retrieval extension chain that does not meet the preset standard is directly classified as a different target chain.
[0117] More specifically, for the retrieval extension chains that meet the preset standard of chain sequence difference, the chain length difference characteristics are analyzed, and the retrieval extension chains whose chain length difference characteristics belong to negative length difference are classified as heterogeneous target chains.
[0118] More specifically, for the chain length difference characteristics that belong to the positive length difference, the extended chains are retrieved, the extended nodes that are inconsistent with the target process chain are identified, and they are divided into redundant nodes. The management process corresponding to each redundant node is analyzed in detail to determine whether it is an additional process or a coordination process. Additional process: The main process independent of the management process feedback from the target process chain. Coordination process: An additional process for adjusting and supplementing the management process feedback from the target process chain.
[0119] More specifically, the search extension chain with redundant nodes corresponding to the additional process is divided into a different-target chain, and the search extension chain in which all redundant nodes correspond to the coordination process is divided into a same-target chain.
[0120] Preferably, the step of performing multi-dimensional process attribute analysis on each of the target chains to obtain the chain attribute characteristics of the target process chain includes:
[0121] S5431: Classify the extended nodes in the search extended chain that are inconsistent with the target process chain as redundant nodes;
[0122] S5432: Analyze and process the degree of association between the process corresponding to the redundant node and the management process fed back by the target process chain, and generate the chain stability of the search extension chain according to the degree of association;
[0123] S5433: Analyze and process the influence degree between the process corresponding to the redundant node and the management process fed back by the target process chain, and generate the chain efficiency of the search extension chain according to the influence degree;
[0124] S5434: Generate chain redundancy of the retrieval extension chain according to the number of the redundant nodes;
[0125] S5435: The chain stability, the chain efficiency and the chain redundancy of all the redundant nodes on the retrieval extension chain are used as the chain attribute characteristics of the retrieval extension chain.
[0126] Specifically, in each retrieval extension chain, the extension nodes that are inconsistent with the target process chain are identified and divided into redundant nodes. The degree of correlation between the processes corresponding to the redundant nodes and the management processes fed back by the target process chain is analyzed in detail. Based on the analysis results, the chain stability of the retrieval extension chain is generated, reflecting the close correlation between the redundant node processes and the target process chain.
[0127] More specifically, the degree of influence between the processes corresponding to the redundant nodes and the management processes fed back by the target process chain is evaluated. Based on the evaluation results, the chain efficiency of the retrieval extension chain is generated, which represents the efficiency influence of the redundant node processes on the target process chain. The number of redundant nodes in each retrieval extension chain is counted, and based on the statistical results, the chain redundancy of the retrieval extension chain is generated, which represents the redundancy of the redundant nodes.
[0128] More specifically, the chain stability, chain efficiency and chain redundancy of all redundant nodes on the retrieval extension chain are integrated as the chain attribute characteristics of the retrieval extension chain.
[0129] It can be understood that through the multi-dimensional analysis of chain stability, chain efficiency and chain redundancy, a comprehensive chain attribute feature evaluation is provided, and the integration of multi-dimensional attribute features makes the evaluation of the retrieval extension chain more three-dimensional and comprehensive. Through the chain stability evaluation, the stability of the process chain can be identified and improved, and the unstable factors in the chain can be reduced. The chain efficiency analysis helps to optimize the efficiency of the process chain, identify and improve the nodes that have a greater impact on the efficiency of the target process chain. Through the chain redundancy evaluation, the redundant nodes in the process chain are identified and controlled, resource allocation is optimized, and unnecessary process steps are reduced.
[0130] In a second aspect, the present invention provides an internal and external data interaction and fusion system based on a BPM engine, which is used to implement an internal and external data interaction and fusion method based on a BPM engine as described in any one of the first aspects.
[0131] In this embodiment, for the specific implementation of each module in the above system embodiment, please refer to the above method embodiment, which will not be repeated here.
[0132] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. The internal and external data interaction and fusion method based on the BPM engine is characterized by: include: Preparing several groups of process management chains for the BPM engine in advance; wherein the process management chains include several process management nodes that are progressive in sequence, the process management chains are used to perform process management on the third-party document data processed by the BPM engine, and the process management nodes are used to manage a section of process data in the third-party document data processed by the BPM engine; Combining the process management chains of each group to construct a tree-like process map; wherein the tree-like process map is used to describe the association relationship between the process management chains of each group; Acquire target third-party document data waiting to be processed by the BPM engine, and perform data flow analysis on the target third-party document data to obtain each section of process data of the target third-party document data; Analyzing and processing each segment of process data of the target third-party document data through the tree-like process map, so as to determine each process management node corresponding to each segment of the process data in the tree-like process map, and marking each process management node corresponding to each segment of the process data as a node to be linked; Based on the tree-like process map, each of the nodes to be linked is analyzed and processed for the most consistent process chain, so as to obtain the most consistent process chain corresponding to each of the nodes to be linked; A corresponding business process execution model is generated according to the most consistent process chain, and process execution processing is performed on the target third-party document data according to the business process execution model.
2. The method for interactive integration of internal and external data based on a BPM engine as claimed in claim 1, characterized in that: The steps of combining the process management chains of each group to construct a tree-like process map include: Analyze and process each of the process management nodes in each group of the process management chains, and generate a node label for each of the process management nodes according to the analysis and processing results; wherein the node label includes a chain label, a process label, and a position label, the chain label is used to describe which group of the process management chains the process management node belongs to, the process label is used to describe the process data processed by the process management node, and the position label is used to describe the relative position of the process management node in the process management chain; Performing a search and link process on the process management nodes with the same process tag in each of the process management chains, so that each of the process management chains with the process management node can be retrieved through the process management node; According to the chain mark and the position mark of each of the process management nodes with the same process mark, the chain relative position relationship of each of the process management chains to which each of the process management nodes with the same process mark belongs is analyzed and processed, and the chain relative position of each of the process management chains is set according to the results of the analysis and processing to obtain the tree-like process map.
3. The method for interactive fusion of internal and external data based on the BPM engine according to claim 2, characterized in that: The steps of analyzing and processing the relative position relationship of the chains of the process management chains to which the process management nodes with the same process mark belong according to the chain mark and the position mark of the process management nodes with the same process mark, and setting the relative position of the chains of the process management chains according to the result of the analysis and processing to obtain the tree-like process map include: Taking the process management node having the same process tag as a reference node; Each of the process management nodes having the same chain mark as the reference node and a different position mark is used as an extended node; According to the position mark of the reference node and the position marks of each extended node, each extended node is extended on the reference node to obtain a reference extended structure of the reference node; wherein the reference extended structure includes each reference extended chain of the reference node, and the reference extended chain is a display of each process management chain based on the reference node; The reference extended structures of the respective reference nodes are collectively used as the tree-like flow chart.
4. The method for interactive fusion of internal and external data based on a BPM engine as claimed in claim 3, characterized in that: The steps of analyzing and processing the most consistent process chain for each of the nodes to be linked based on the tree-like process map to obtain the most consistent process chain corresponding to each of the nodes to be linked include: Determine the reference node corresponding to each of the nodes to be linked based on the tree-like flow chart; Retrieve and process each of the to-be-linked nodes of the target third-party document data according to the reference extension structure of each of the reference nodes, so as to determine the extension node corresponding to each of the to-be-linked nodes of the target third-party document data in the reference extension structure of each of the reference nodes; Mark the extension nodes of each of the to-be-linked nodes corresponding to the target third-party document data as retrieval nodes, and mark the reference extension chain where the retrieval node is located as the retrieval extension chain of the to-be-linked node, and collectively form a target process chain with each of the to-be-linked nodes of the target third-party document data, and perform chain similarity analysis and processing on each of the retrieval extension chains and the target process chain to obtain chain similarity between each of the retrieval extension chains and the target process chain; wherein the chain similarity is used to describe the degree of conformity between the retrieval extension chain and each of the to-be-linked nodes of the target third-party document data; A comprehensive analysis is performed based on the chain similarity between each of the search extension chains of each of the to-be-linked nodes of the target third-party document data and the target process chain to determine the most consistent process chain in the tree-like process map.
5. The method for interactive fusion of internal and external data based on a BPM engine as claimed in claim 4, characterized in that: The step of performing comprehensive analysis and processing based on the chain similarity between each of the search extension chains of each of the to-be-linked nodes of the target third-party document data and the target process chain to determine the most consistent process chain in the tree-like process map includes: Perform chain structure difference analysis and processing on each of the search extension chains and the target process chain of each of the to-be-linked nodes of the target third-party document data, respectively, to obtain chain structure difference features between each of the search extension chains and the target process chain; wherein the chain structure difference features include chain length difference features and chain sequence difference features; According to the chain structure difference characteristics between each of the retrieval extension chains and the target process chain, each of the retrieval extension chains is divided into a same-target chain and a different-target chain; wherein the same-target chain and the target process chain have the same process management target, and the different-target chain has a different process management target from the target process chain; Perform multi-dimensional process attribute analysis on each of the target chains to obtain the chain attribute characteristics of the target process chain; wherein the chain attribute characteristics include chain stability, chain efficiency and chain redundancy; Comprehensive analysis and processing are performed according to the chain attribute characteristics of each of the same-target chains to determine the most suitable process chain among each of the same-target chains.
6. The method for interactive fusion of internal and external data based on a BPM engine as claimed in claim 5, characterized in that: According to the chain structure difference characteristics between each of the search extension chains and the target process chain, the step of dividing each of the search extension chains into same-target chains and different-target chains comprises: Judging and processing the chain sequence difference characteristics between the search extension chain and the target process chain according to a preset standard, and classifying the search extension chain whose chain sequence difference characteristics do not meet the preset standard as a different target chain; Analyzing and processing the chain length difference characteristics of the search extension chain whose chain sequence difference characteristics meet the preset standard, determining whether the chain length difference characteristics of the search extension chain belong to a positive length difference or a negative length difference, and classifying the search extension chain whose chain length difference characteristics belong to a negative length difference as a different target chain; Performing node division processing on the search extension chain whose chain length difference characteristic belongs to the positive length difference, dividing the extension nodes in the search extension chain that are inconsistent with the target process chain into redundant nodes, and analyzing and processing the management process corresponding to each redundant node to determine whether the management process corresponding to the redundant node is an additional process or a coordination process; wherein the additional process is a main process independent of the management process fed back by the target process chain, and the coordination process is an additional process for adjusting and supplementing the management process fed back by the target process chain; The retrieval extension chain having the redundant nodes corresponding to the additional process is divided into a different-target chain, and the retrieval extension chain having all the redundant nodes corresponding to the coordination process is divided into a same-target chain.
7. The method for interactive integration of internal and external data based on a BPM engine as claimed in claim 5, characterized in that: The step of performing multi-dimensional process attribute analysis on each of the target chains to obtain the chain attribute characteristics of the target process chain includes: Classify the extended nodes in the search extended chain that are inconsistent with the target process chain as redundant nodes; Analyzing and processing the correlation between the process corresponding to the redundant node and the management process fed back by the target process chain, and generating the chain stability of the search extension chain according to the correlation; Analyze and process the influence degree between the process corresponding to the redundant node and the management process fed back by the target process chain, and generate the chain efficiency of the search extension chain according to the influence degree; Generate the chain redundancy of the retrieval extension chain according to the number of the redundant nodes; The chain stability, the chain efficiency and the chain redundancy of all the redundant nodes on the retrieval extension chain are used as the chain attribute characteristics of the retrieval extension chain.
8. The internal and external data interaction and fusion system based on the BPM engine is characterized by: Used to implement the internal and external data interaction and fusion method based on the BPM engine as described in any one of claims 1-7.
