Business process modeling method and device and storage medium
By acquiring unstructured data, extracting, fusing, and processing knowledge, constructing a knowledge graph, and converting it into a standard modeling model, the problem of inaccurate modeling caused by the scarcity of structured data in emerging business areas is solved, and efficient modeling is achieved under conditions of data scarcity.
Patent Information
- Application Number
- CN202411428295.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2024-11-12
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In emerging business areas, due to the scarcity of structured data, existing technologies struggle to accurately model business processes.
By acquiring unstructured data, extracting, fusing, and processing knowledge, constructing a knowledge graph, and using a mapping dictionary library to convert it into a standard modeling model.
In situations where data is scarce, this approach enhances the richness and accuracy of modeling information, ensures the standardization and normalization of the modeling process, and improves the accuracy of modeling results.
Smart Images

Figure CN118941251A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence and modeling technology, and in particular to a business process modeling method, device and storage medium. Background Art
[0002] Business process modeling refers to the use of software models to describe the objects and elements involved in enterprise management and business, as well as their attributes, behaviors and relationships.
[0003] Generally speaking, the core step of business process modeling is to collect structured data from the database of the business system. Then, the data is processed to identify the key entities in the business process and further clarify the complex relationships between these entities.
[0004] However, this modeling method relies on a large amount of structured data. In some emerging business areas, because the market is not yet mature or the business activities are still in the early stages, the available structured data is relatively scarce. In this case, it is difficult to conduct a full analysis, which affects the accuracy of the modeling results.
[0005] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0006] The main purpose of this application is to provide a business process modeling method, device and storage medium, aiming to solve the technical problem of inaccurate business process modeling results.
[0007] To achieve the above objectives, the present application proposes a business process modeling method, which includes: Obtain unstructured data corresponding to the business process to be modeled; Extracting knowledge components from the unstructured data and fusing the knowledge components; Construct nodes and edges of a knowledge graph according to the processed knowledge components; Based on a mapping dictionary library, the knowledge graph is converted into a standard modeling model.
[0008] In one embodiment, the step of extracting the knowledge components from the unstructured data includes: Based on a window of fixed length, the unstructured data is segmented and detected based on a text classification model. The entities are paired into an entity pair set, and the relationship between the entities is determined based on a match between a predefined rule template and the entity pair set.
[0009] In one embodiment, the knowledge component includes an entity, and the step of fusing the knowledge component includes: In the synonym database, searching for the standard form corresponding to the entity, and replacing the entity with the standard form; Identify the pronouns in the entity and generate a candidate referent list corresponding to the pronoun, determine the referent entity of the pronoun based on the similarity between the pronoun and the nominal entity in the candidate referent list, and replace the entity with the referent entity.
[0010] In one embodiment, after the step of obtaining the unstructured data corresponding to the business process to be modeled, the method further includes: If the unstructured data is of an audio or video file type, converting the conversation content in the unstructured data into a standard text according to a format conversion tool; If the unstructured data is of email type, extracting email content and attachments from the unstructured data and formatting them into standard text; If the unstructured data is of image type, the text in the unstructured data is extracted according to optical character recognition technology and converted into standard text.
[0011] In one embodiment, the knowledge components include entities and relationships, and the step of constructing nodes and edges of the knowledge graph according to the processed knowledge components includes: Organizing the entities and relations into a plurality of triple data structures; Determining a connection relationship between the triple data structures according to entity overlap in the triple data structures, and generating an inference path based on the connection relationship; According to the reasoning path, the corresponding knowledge graph is generated.
[0012] In one embodiment, before the step of converting the knowledge graph into a standard modeling model based on a mapping dictionary library, the step further includes: According to the execution frequency of each element in the business process to be modeled and the contribution to the business goal, the core elements are screened out and summarized to generate the core business process; According to the core business process, non-critical knowledge graph elements in the knowledge graph are eliminated.
[0013] In one embodiment, the step of converting the knowledge graph into a standard modeling model based on a mapping dictionary library includes: Determining the type of knowledge graph elements in the knowledge graph; According to the type, a list of candidate elements corresponding to the knowledge graph element is screened out in the mapping dictionary library; Determine the standard modeling model element corresponding to the knowledge graph element according to the matching degree between the knowledge graph element and each candidate element in the candidate element list; The standard modeling model elements are aggregated to generate the standard modeling model.
[0014] In one embodiment, after the step of converting the knowledge graph into a standard modeling model based on a mapping dictionary library, the method further includes: Write test cases according to the business process to be modeled; Input the standard modeling model and the test case into a process engine to obtain corresponding test results; If the test result does not meet the business requirements corresponding to the business process to be modeled, the business process to be modeled is modified according to the business requirements.
[0015] In addition, to achieve the above-mentioned purpose, the present application also proposes a business process modeling device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the business process modeling method described above.
[0016] In addition, to achieve the above objectives, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the business process modeling method described above are implemented.
[0017] One or more technical solutions proposed in this application have at least the following technical effects: The present application provides a business process modeling method, which effectively compensates for the problem of insufficient structured data by acquiring unstructured data, so that analysis and modeling can still be performed when data is scarce. Specifically, through knowledge extraction, knowledge fusion, and knowledge processing steps, the knowledge components in the unstructured data are deeply processed to improve the richness and accuracy of the information required for modeling. Then, using the knowledge graph, the knowledge components are presented in a structured form to construct a knowledge system that is both comprehensive and intuitive. Finally, based on the knowledge graph, a smooth transition to a standard modeling model is achieved with the help of a mapping dictionary library, ensuring the standardization and normalization of the modeling process, while also greatly improving the accuracy of the modeling results. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0020] Figure 1 A flowchart of the first embodiment of the business process modeling method of the present application is provided; Figure 2 A schematic diagram of a mapping dictionary library provided for the first embodiment of the business process modeling method of the present application; Figure 3 A flowchart of the second embodiment of the business process modeling method of the present application is provided; Figure 4 A flowchart of the third embodiment of the business process modeling method of the present application is provided; Figure 5 A flowchart of the fourth embodiment of the business process modeling method of the present application is provided; Figure 6 A flowchart of the fifth embodiment of the business process modeling method of the present application is provided; Figure 7 A brief flowchart of the business process modeling method for this application; Figure 8 This is a schematic diagram of the device structure of the hardware operating environment involved in the business process modeling method in the embodiment of the present application.
[0021] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0022] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0023] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0024] The main solution of the embodiment of the present application is: obtain unstructured data corresponding to the business process to be modeled; extract knowledge components from the unstructured data and fuse the knowledge components; construct nodes and edges of the knowledge graph according to the processed knowledge components; and convert the knowledge graph into a standard modeling model based on a mapping dictionary library.
[0025] The current modeling method relies on a large amount of structured data. In some emerging business areas, because the market is not yet mature or the business activities are still in the early stages, the available structured data is relatively scarce. In this case, it is difficult to conduct a full analysis, which affects the accuracy of the modeling results.
[0026] To solve the above problems, this application provides a solution to obtain unstructured data related to business processes, conduct in-depth analysis of these data through steps such as knowledge extraction, knowledge fusion, knowledge processing and standardization, and then obtain accurate modeling results.
[0027] It should be noted that the execution subject of this solution can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or a business process modeling device capable of realizing the above functions, etc. The following embodiments are described below taking the business process modeling device as an example.
[0028] Based on this, the present application embodiment provides a business process modeling method, referring to Figure 1 , Figure 1 This is a flowchart of the first embodiment of the business process modeling method of the present application.
[0029] In this embodiment, the business process modeling method includes steps S10 to S40: Step S10, obtaining unstructured data corresponding to the business process to be modeled; It should be noted that a business process refers to a series of activities performed in a certain order to achieve a specific business goal. Unstructured data refers to data with irregular or incomplete structure, no predefined data model, and data that is not convenient to be represented by a two-dimensional logical table in a database. Such data includes but is not limited to relevant business descriptions, research materials, reference materials, etc.
[0030] In emerging business areas, although structured data may be insufficient, there is often a large amount of unstructured data. By collecting these unstructured data, more data foundation is provided for subsequent modeling.
[0031] Optionally, use a web crawler to automatically grab data from websites, social media and other platforms; if the data source provides an API interface, you can obtain data by calling the API interface. The API interface usually provides a more stable and efficient way to obtain data; in order to meet the needs of large-scale data collection, you can use professional data collection tools. These tools support distributed data collection and transmission and can meet the needs of large-scale data collection.
[0032] For example, the business process to be modeled is deeply analyzed to extract keywords, including terms, concepts, related roles, activities, etc., and then the keyword list is expanded using synonyms and related words to increase the diversity of written and oral expressions so as to cover a wider range of content when crawling. Based on the characteristics and keywords of the business process, data sources such as websites, social media platforms, and industry forums that may contain relevant unstructured data are determined. Next, crawling rules are formulated, including search parameters, filter conditions, and crawling depth settings. At this point, the crawler program can be started according to the above crawling rules and keyword templates. The crawler will traverse the data source, generate and send requests to obtain page content. Finally, the text parsing tool is used to conduct an in-depth analysis of the obtained page content to extract unstructured information related to the business process to be modeled.
[0033] In addition, different types of unstructured data are converted into a unified text format to ensure data readability and convenience for subsequent processing. The specific steps are as follows: According to the format type of the unstructured data, select the corresponding format conversion method and then convert it into standard text.
[0034] If the unstructured data is of the audio or video file type, use an audio-to-text tool to convert the conversation content in the audio file into text. For example, extract the audio stream from the video file to generate an independent audio file, then input the extracted audio file into the speech recognition system to identify the conversation content, and then format the recognized text to remove noise and irrelevant information to generate standard text.
[0035] If the unstructured data is of email type, the email content and attachments are extracted and formatted into standard text. For example, the email parsing library is used to extract the email subject, sender, recipient, timestamp, and body content; for attachments in emails, the attachment type is first identified, and then the corresponding processing method is selected according to the attachment type to extract the text content.
[0036] If the unstructured data is of image type, the text in the image is extracted and converted into standard text based on optical character recognition technology. For example, the image is preprocessed, such as denoising, binarization, rotation correction, etc., to improve the recognition accuracy; the processed image is input into the optical character recognition tool to extract the text; the extracted text is formatted to remove extra spaces and line breaks to generate standard text.
[0037] Step S20, extracting knowledge components from the unstructured data, and performing fusion processing on the knowledge components; It should be noted that knowledge components include at least one of entities, relationships, attributes and events. Among them, entities are basic objects in business processes. They can be between enterprises, functions, or people. They are the main body or core elements of business processes, such as names of people, places, organizations, and products. Relationships refer to the connection between entities. Attributes are characteristic information that describes entities. Events are specific actions or situations that occur in business processes, which trigger an activity or state change in the business process.
[0038] Optionally, knowledge components are identified by manually writing rules or regular expressions to match specific patterns in the text; or, a statistical model is trained using labeled training data, and the text is sequence-labeled using the model to identify knowledge components; or, a deep learning model is used to encode and decode the text to identify knowledge components.
[0039] Furthermore, the knowledge components are integrated into a more complete, consistent and useful knowledge system, providing a solid foundation for subsequent knowledge processing and modeling.
[0040] In a feasible implementation, it involves conflict detection and resolution: for each entity, its attribute information is compared, and a similarity score can be set to determine whether the information is similar, for example, using methods such as cosine similarity to evaluate the similarity between attributes; formulating corresponding rules to identify information conflicts, for example, when two sources have significantly different values for the same attribute, they can be marked as conflicts; creating a conflict log to record each conflict found, including the entities, attributes, sources involved, and the specific content of the conflict; referring to the authoritative score of the information source, which is evaluated based on factors such as the trustworthiness of the source, the number of citations, and expert recognition; giving priority to information from sources with higher scores to improve the accuracy and reliability of knowledge.
[0041] Step S30, constructing nodes and edges of a knowledge graph according to the processed knowledge components; A knowledge graph is a structure that represents knowledge in a graphical way, usually constructed through nodes and edges. The process of forming a knowledge graph by processing knowledge components includes: Construct nodes: Treat each entity in the knowledge component as a node in the graph. The node can contain attribute information about the entity, such as ID (Identity document), name, type, description, etc.
[0042] Build edges: Based on the identified relationships, create edges connecting these entity nodes in the graph. Metadata can be attached to the edges to describe the nature and attributes of the relationship, such as time, strength, etc.
[0043] In addition, you can also apply inference rules to analyze and derive new relationships. The specific steps are as follows: Define the corresponding reasoning rules in advance based on business logic and knowledge relationships. These rules can be conditional statements that indicate the conclusions that should be drawn under certain conditions. For example, if there are triples (A, submit application form to, leader B) and (leader B, application form needs to be signed, leader C), then the triple (application form, requires approval from leaders at the same time, B and C) can be derived.
[0044] In actual application, entities and relations are first organized into a data structure suitable for reasoning, usually in the form of triples. For example: (A, submit application form to, B) and (B, application form needs to be signed, C).
[0045] Standardize the entities in the triples to ensure that the same entity has consistent representation in different triples, for example, using a unified naming convention or ID.
[0046] By comparing the entities in the triples, overlapping entities can be identified. String matching, similarity calculation, or graph comparison can be used to detect overlaps.
[0047] According to the overlapping entities, the connection relationship between the triples is established. If two triples share the same entity, they can be considered to be connected.
[0048] For example, from the triples (A, submits the application form to, B) and (B, the application form needs to be signed by, C), we can derive the triplet (application form, requires approval from leaders at the same time, B and C).
[0049] Finally, the inferred relationships are added to the knowledge graph accordingly to form corresponding edges to reflect the reasoning path.
[0050] It is understandable that through logical reasoning, new relationships can be automatically derived, thereby improving the efficiency of data processing and saving users time in manually searching or reasoning about complex relationships. In addition, the new relationships obtained by reasoning are dynamically added to the knowledge graph to form corresponding edges. This dynamic expansion capability makes the knowledge graph more complete and rich.
[0051] Step S40: converting the knowledge graph into a standard modeling model based on a mapping dictionary library.
[0052] It should be noted that the mapping dictionary library defines the mapping rules between data elements. These rules clarify the correspondence between source data and target data. Among them, source data is such as entities and relationships in the knowledge graph, and target data is such as flow objects and data elements in the standard modeling model. Figure 2 shown.
[0053] Parsing the structure of the knowledge graph can be achieved by traversing the nodes and edges of the knowledge graph and extracting the knowledge graph elements, including entities, relationships, etc.
[0054] For each traversed knowledge graph element, the mapping dictionary is queried to find the corresponding mapping rule, and then the knowledge graph element is mapped to the corresponding element of the standard modeling model. Finally, the standard modeling model element is integrated into the modeling model to form a complete standard modeling model.
[0055] In addition, when faced with a complex knowledge graph that may contain a lot of details, directly trying to incorporate all the information into the modeling process may lead to confusion and reduced efficiency during execution. Therefore, it is possible to focus on some key knowledge graph elements. The specific steps are as follows: Collect all elements in the existing business process to be modeled, including entities, relationships, etc.
[0056] Count the execution frequency of each element in the business process and identify high-frequency nodes. You can use the frequency distribution analysis method and set a threshold to filter out nodes with execution frequencies higher than a certain standard.
[0057] According to the business objectives, evaluate the contribution of each node to the objectives. A weighted scoring model can be used to quantify the relevance of the node's contribution to the business objectives.
[0058] Based on the execution frequency and contribution, we set comprehensive scoring criteria, screen out the core nodes, and then summarize and generate the core business processes.
[0059] Entities, relationships, attributes, etc. that are closely related to the core business process are selected from the knowledge graph as key knowledge graph elements. These elements should be able to fully reflect the core logic and key information of the business process. Then, the key knowledge graph elements are retained and non-key knowledge graph elements are removed to form a more streamlined knowledge graph.
[0060] In this way, the constructed standard modeling model will more closely reflect the core business processes and will not be cluttered by unnecessary details.
[0061] This embodiment provides a business process modeling method, which effectively compensates for the problem of insufficient structured data by acquiring unstructured data, so that analysis and modeling can still be performed when data is scarce. Specifically, through knowledge extraction, knowledge fusion, and knowledge processing steps, the knowledge components in the unstructured data are deeply processed, which improves the richness and accuracy of the information required for modeling. Then, using the knowledge graph, the knowledge components are presented in a structured form, and a knowledge system that is both comprehensive and intuitive is constructed. Finally, based on the knowledge graph, a smooth transition to the standard modeling model is achieved with the help of a mapping dictionary library, ensuring the standardization and normalization of the modeling process, while also greatly improving the accuracy of the modeling results.
[0062] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can refer to the above introduction, and will not be repeated later. Figure 3 , step S20 includes steps A10 to A20: Step A10, segmenting the unstructured data based on a window of fixed length, and detecting entities in the unstructured data according to a text classification model; Step A20, pairing the entities into entity pairs, and determining the relationship between the entities according to the matching conditions between the predefined rule template and the entity pairs.
[0063] In a feasible implementation, a text classification model and NER (Named Entity Recognition) technology are combined to extract entities and relationships from unstructured data.
[0064] It should be noted that the text classification model is a deep learning model that can analyze the given text data and classify it into predefined categories based on the content and characteristics of the text. NER technology is a key technology in natural language processing, which is used to extract entities with specific meanings from text.
[0065] First, a fixed-length window, such as n characters, is set to segment the unstructured text. The sliding window method is applied to traverse the text and segment the text into multiple segments, each containing a fixed number of characters or words. This windowing process can reduce computational complexity, improve the efficiency of subsequent analysis, and ensure that important contextual information is not missed during analysis.
[0066] Secondly, each window is input into the text classification model. The model can analyze the text content and classify it according to its pre-learned features. At the same time, the NER technology is used to identify the entities that may exist in the window and their corresponding categories.
[0067] Next, from the identified entities, generate all possible entity pairs. For example, in a paragraph, if there are entities A and B, then form the pair (A, B). Additionally, keywords can be extracted from the entity context through TF-IDF, TextRank, or other keyword extraction algorithms.
[0068] In this solution, several rule templates are predefined. These templates define the possible relationships between different entity categories and the keywords that trigger these relationships. A rule template generally includes the following parts: entity category pair, indicating which two or several entity categories may have a relationship; keyword list, listing the keywords that can trigger this relationship; relationship type, defining the type of relationship to be established when the rule is satisfied.
[0069] For each entity pair, traverse the rule templates in the rule library and analyze the matching situation between the entity pair and the rule templates, that is, check whether there is at least one rule template that meets the following conditions: the categories of the entity pair match the entity category pair defined in the rule, or the text between the entity pair contains at least one keyword. If a matching rule is found, establish the corresponding relationship between the entity pair according to the relationship type defined in the rule.
[0070] For example, Rule Template 1: Entity category pair: Employee, Supervisor Keyword list: To, Submit Relationship type: Submission relationship Suppose the generated entity pair is (A, Department Manager B).
[0071] For the entity pair (A, Department Manager B): Match Rule Template 1 because it contains the keyword "To" and the entity categories match.
[0072] Establish the relationship: A - Submission relationship -> Department Manager B This embodiment provides a business process modeling method. Splitting large segments of unstructured text into fixed-length windows can effectively manage and process data, facilitating analysis and information extraction. By extracting keywords in a specific context, the relationship between entities can be judged more accurately, reducing misjudgments of vague or ambiguous relationships.
[0073] Based on the first embodiment of this application, in the third embodiment of this application, the same or similar content as in the above-mentioned Embodiment 1 can be referred to the above introduction and will not be elaborated hereinafter. On this basis, please refer to Figure 4 , step S20 includes steps B10~B30: Step B10, searching for a standard form corresponding to the entity in a synonym database, and replacing the entity with the standard form; Step B20, identifying the pronouns in the entity and generating a candidate reference list corresponding to the pronouns; Step B30, determining the referent entity of the pronoun according to the similarity between the pronoun and the nominal entity in the candidate referent list, and replacing the entity with the referent entity.
[0074] This embodiment involves entity unification and reference resolution.
[0075] The same entity may be written in different ways in the text, for example, "application form" can be used as an abbreviation for "leave application form". Therefore, "leave application form" and "application form" actually refer to the same entity, and the entity unification process is to deal with such problems. The specific steps are as follows: Prepare a thesaurus containing standard forms and their associated synonyms in advance. This can be compiled from industry standard databases, academic literature, text mining, or expert knowledge.
[0076] Design a matching algorithm to find the standard form in the thesaurus. The following strategies can be used: First, an exact match is performed to check if there is an exact word and its corresponding standard form in the thesaurus. If an exact match fails, a fuzzy matching algorithm, such as similarity calculation based on edit distance, is used to find similar words in the thesaurus. Fuzzy matching helps to deal with word variants, abbreviations, and spelling errors.
[0077] Once the corresponding standard form is found in the synonym database, it will be replaced in the corresponding position in the entity. During the replacement process, it is necessary to keep the grammatical structure and semantic information of the original text unchanged.
[0078] The process of reference resolution is similar to entity unification, both of which are aimed at solving the problem of the same entity. For example, in the text, "Please submit the document to the leader for approval", where "the document" refers to the "leave application form". Therefore, the task of reference resolution is to find out the specific entities referred to by these pronouns. The specific steps are as follows: First, use natural language processing tools to perform word segmentation and part-of-speech tagging on the knowledge components. This step breaks the text into words or phrases and assigns a part-of-speech tag to each word or phrase, such as noun, verb, pronoun, etc. From the results of word segmentation and part-of-speech tagging, filter out all words marked as pronouns, which will be candidates for subsequent reference resolution.
[0079] Based on the results of word segmentation and part-of-speech tagging, all words marked as nouns and phrases that may represent entities are extracted, which will constitute a set of noun entities.
[0080] For each pronoun, a list of candidate referents is constructed based on its position and context, including the nominal entities that appear in the sentence or paragraph preceding the pronoun.
[0081] A variety of methods are used to calculate the similarity between the pronoun and each nominal entity in the candidate referent list. These methods may include: considering the text distance between the pronoun and the nominal entity, generally the closer the distance, the greater the possibility of referencing; using pre-trained word vectors or semantic models to calculate the semantic similarity between the pronoun and the nominal entity.
[0082] The matching nominal entities are prioritized according to the similarity scores, and the most relevant entity is selected as the referent of the pronoun.
[0083] In the knowledge component, the identified entity is replaced with its determined referent entity. In this process, special attention should be paid to maintaining the grammatical structure and semantic information of the original text.
[0084] This embodiment provides a business process modeling method, which can ensure that different expressions of the same entity in the text are unified into a standard form through unified replacement of entities in the synonym library, thereby enhancing the internal consistency of the text. At the same time, pronoun reference resolution further ensures the accurate correspondence between pronouns and the entities they refer to, avoids unclear or confusing references, and further improves the overall clarity of the text.
[0085] Based on the first embodiment of the present application, in the fourth embodiment of the present application, the same or similar contents as those in the first embodiment can refer to the above description, and will not be described in detail later. Figure 5 , step S40 includes steps C10 to C40: Step C10, determining the type of the knowledge graph element in the knowledge graph; Step C20, according to the type, filtering out a list of candidate elements corresponding to the knowledge graph element in the mapping dictionary library; Step C30, determining the standard modeling model element corresponding to the knowledge graph element according to the matching degree between the knowledge graph element and each candidate element in the candidate element list; Step C40, summarizing the standard modeling model elements to generate the standard modeling model.
[0086] This embodiment adopts a combination of preliminary screening and exact matching: Classify each element in the knowledge graph and clarify whether its type is "entity" or "relationship".
[0087] According to the type of knowledge graph elements, the mapping dictionary library is screened and only the standard modeling model elements that match the knowledge graph element type are selected as candidate elements. The screened candidate elements are organized into a list for subsequent matching evaluation.
[0088] For each element in the knowledge graph, a multi-dimensional comparison method is used to deeply calculate its matching degree with each element in the candidate list. This process not only considers the name similarity of the elements, but also comprehensively evaluates multiple key factors such as attribute consistency and context description fit to ensure the comprehensiveness and accuracy of the matching results.
[0089] According to the matching calculation results, the candidate element with the highest matching degree is selected as the standard modeling model element corresponding to the knowledge graph element.
[0090] In this way, the standard modeling model elements corresponding to all knowledge graph elements are determined, and the standard modeling model is obtained by summarizing.
[0091] This embodiment provides a business process modeling method, which adopts a combination of preliminary screening and precise matching. The preliminary screening stage is based on the matching of element types, which excludes a large number of irrelevant candidates, can quickly narrow the scope of candidate elements, reduce unnecessary comparisons and calculations, and thus significantly improve mapping efficiency.
[0092] Based on the first embodiment of the present application, in the fifth embodiment of the present application, the same or similar contents as those in the first embodiment can be referred to the above description, and will not be described in detail later. Figure 6 , after step S30, further comprising steps D10 to D30: Step D10, writing test cases according to the business process to be modeled; Step D20, inputting the standard modeling model and the test case into the process engine to obtain corresponding test results; Step D30: If the test result does not meet the business requirements corresponding to the business process to be modeled, the business process to be modeled is modified according to the business requirements.
[0093] Automatically write corresponding test cases based on the business process to be modeled. The test cases should describe in detail the expected process behavior, input conditions, and business requirements to be achieved, etc., to verify the correctness of the business process and whether it meets the established business requirements.
[0094] A process engine is a system used to execute and manage business processes. It can simulate the execution process of business processes and generate corresponding test results.
[0095] Input the standard modeling model and the written test cases into the process engine. The process engine executes the corresponding business process according to the input test cases and finally generates test results. These results will indicate whether the performance of the business process during execution meets expectations.
[0096] If the test results show that the business process does not meet the corresponding business requirements, that is, the test results are inconsistent with expectations, this indicates that there are deficiencies in the process design or implementation. At this time, it is necessary to verify and correct the business process to be modeled, which may involve adjusting process steps, modifying logical relationships, improving workflows, etc., to ensure that the modified process can better meet business requirements.
[0097] This embodiment provides a business process modeling method. By writing detailed test cases and executing them using a process engine, the business process can be effectively tested and corrected to ensure that the final business operations meet the expected goals and requirements. This process provides a systematic framework for business process optimization and verification, ensuring smooth and efficient operation in actual applications.
[0098] For example, in order to help understand the implementation process of the business process modeling method obtained by combining this embodiment with the above-mentioned embodiment 1, please refer to Figure 7 , Figure 7 A brief flowchart of a business process modeling method is provided, specifically: 1. Data Collection and Preparation 1) Collect unstructured data, including relevant business descriptions, research materials, reference materials, etc.
[0099] 2) Establish a mapping dictionary library between standard modeling model elements and knowledge graph elements to convert entities and relationships into standard modeling model elements. This library is a built-in library of the device and needs to be improved by professionals for different business needs, but it can be reused for the same type of business processes.
[0100] 2. Knowledge Extraction Extract knowledge components from unstructured data, including entities, relationships, attributes, events, etc.
[0101] 3. Knowledge Fusion Including data integration, entity unification, and reference resolution.
[0102] 4. Knowledge Processing Through knowledge reasoning, a knowledge graph is obtained.
[0103] In order to facilitate the conversion of knowledge graphs into business modeling models, graph databases can be used for storage, which is not only convenient for display and modification, but also allows efficient graph query and search. Graph databases mainly use attribute graphs as the basic representation form, so that entities and relationships can contain relevant attributes.
[0104] 5. Standard business model transformation At this stage, the basic graph has been presented, but the graph database needs to be adjusted to make the displayed model closer to the actual business model. At the same time, unnecessary details need to be removed to simplify the model. The key to this step is to convert the entities and relationships in the graph database into a standard modeling model in strict accordance with the mapping dictionary library.
[0105] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the business process modeling method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0106] The present application provides a business process modeling device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the business process modeling method in the above-mentioned embodiment one.
[0107] Reference below Figure 8 , which shows a schematic diagram of the structure of a business process modeling device suitable for implementing the embodiment of the present application. The business process modeling device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The business process modeling device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0108] like Figure 8As shown, the business process modeling device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the business process modeling device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the business process modeling device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a business process modeling device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.
[0109] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0110] The business process modeling device provided by the present application adopts the business process modeling method in the above embodiment, which can solve the technical problem of inaccurate business process modeling results. Compared with the prior art, the beneficial effects of the business process modeling device provided by the present application are the same as the beneficial effects of the business process modeling method provided by the above embodiment, and other technical features in the business process modeling device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0111] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0112] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0113] The present application provides a computer-readable storage medium having a computer program stored thereon, and the computer-readable program instructions are used to execute the business process modeling method in the above-mentioned embodiment.
[0114] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0115] The computer-readable storage medium may be included in the business process modeling device; or may exist independently without being assembled into the business process modeling device.
[0116] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the business process modeling device, the business process modeling device: obtains unstructured data corresponding to the business process to be modeled; extracts knowledge components from the unstructured data and performs fusion processing on the knowledge components; constructs nodes and edges of the knowledge graph according to the processed knowledge components; and converts the knowledge graph into a standard modeling model based on a mapping dictionary library.
[0117] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0118] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0119] The modules involved in the embodiments of the present application may be implemented by software or hardware, wherein the name of the module does not limit the unit itself in some cases.
[0120] The readable storage medium provided in this application is a computer-readable storage medium, which stores a computer program for executing the above-mentioned business process modeling method, and can solve the technical problem of inaccurate business process modeling results. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the business process modeling method provided in the above-mentioned embodiment, and will not be repeated here.
[0121] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A business process modeling method, It is characterized in that The method comprises: Obtain unstructured data corresponding to the business process to be modeled; Extracting knowledge components from the unstructured data and fusing the knowledge components; Construct nodes and edges of a knowledge graph according to the processed knowledge components; Based on a mapping dictionary library, the knowledge graph is converted into a standard modeling model.
2. The method according to claim 1, It is characterized in that The step of extracting knowledge components from the unstructured data includes: Based on a window of fixed length, the unstructured data is segmented and detected based on a text classification model. The entities are paired into entity pairs, and the relationship between the entities is determined according to a matching condition between a predefined rule template and the entity pairs.
3. The method according to claim 1, It is characterized in that The knowledge component includes an entity, and the step of fusing the knowledge component includes: In the synonym database, searching for the standard form corresponding to the entity, and replacing the entity with the standard form; Identify pronouns in the entity and generate a candidate referent list corresponding to the pronouns; According to the similarity between the pronoun and the nominal entity in the candidate reference list, the referent entity of the pronoun is determined, and the entity is replaced with the referent entity.
4. The method according to claim 1, It is characterized in that After the step of obtaining the unstructured data corresponding to the business process to be modeled, the method further includes: If the unstructured data is of an audio or video file type, converting the conversation content in the unstructured data into a standard text according to a format conversion tool; If the unstructured data is of email type, extracting email content and attachments from the unstructured data and formatting them into standard text; If the unstructured data is of image type, the text in the unstructured data is extracted according to optical character recognition technology and converted into standard text.
5. The method according to claim 1, It is characterized in that The knowledge components include entities and relationships, and the step of constructing nodes and edges of the knowledge graph according to the processed knowledge components includes: Organizing the entities and relations into a plurality of triple data structures; Determining a connection relationship between the triple data structures according to entity overlap in the triple data structures, and generating an inference path based on the connection relationship; According to the reasoning path, the corresponding knowledge graph is generated.
6. The method according to claim 1, It is characterized in that Before the step of converting the knowledge graph into a standard modeling model based on a mapping dictionary library, the step further includes: According to the execution frequency of each element in the business process to be modeled and the contribution to the business goal, the core elements are screened out and summarized to generate the core business process; According to the core business process, non-critical knowledge graph elements in the knowledge graph are eliminated.
7. The method according to claim 1, It is characterized in that The step of converting the knowledge graph into a standard modeling model based on a mapping dictionary library includes: Determining the type of knowledge graph elements in the knowledge graph; According to the type, a list of candidate elements corresponding to the knowledge graph element is screened out in the mapping dictionary library; Determine the standard modeling model element corresponding to the knowledge graph element according to the matching degree between the knowledge graph element and each candidate element in the candidate element list; The standard modeling model elements are aggregated to generate the standard modeling model.
8. The method according to claim 1, It is characterized in that After the step of converting the knowledge graph into a standard modeling model based on a mapping dictionary library, the method further includes: Write test cases according to the business process to be modeled; Input the standard modeling model and the test case into a process engine to obtain corresponding test results; If the test result does not meet the business requirements corresponding to the business process to be modeled, the business process to be modeled is modified according to the business requirements.
9. A business process modeling device, It is characterized in that The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the business process modeling method according to any one of claims 1 to 8.
10. A storage medium, It is characterized in that The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the business process modeling method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Data processing method based on knowledge graph technology and terminal equipment
CN114372148A
Business process generation method and device, equipment and medium
CN116167605A
Workflow creation method and device, equipment and storage medium
CN117634865A
Cited By
Lightweight process form intelligent prediction method and system
CN119443760A
Lightweight process form intelligent prediction method and system
CN119443760B
