SOP tool manufacturing method, device and equipment and storage medium

By extracting key information in the browser and matching it with the process knowledge graph, identifying the nodes and paths to be changed, the problem of untimely update of traditional SOP tools is solved, and intelligent synchronous updates of SOP documents and business processes are realized, improving update efficiency and accuracy.

CN120046593APending Publication Date: 2025-05-27SHANGHAI ZHIYU BIOTECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510063086.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-15
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

Traditional SOP tools cannot quickly locate change points and automatically update when business processes change, resulting in a large number of repeated work for enterprises to keep SOP documents consistent with the changed processes.

Method used

By opening the target website in the browser, logging in and opening multiple subpages, extracting preset keywords and custom extraction rules, identifying the nodes and process paths to be changed in the business process, positioning the SOP document modules that need to be updated, and updating them through text content modification and replacement, etc.

Benefits of technology

It realizes intelligent synchronous updates of business process changes and SOP documents, avoids the repetitive labor of manual document updates, and improves the efficiency, quality and accuracy of SOP document updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120046593A_ABST
    Figure CN120046593A_ABST
Patent Text Reader

Abstract

The invention provides an SOP tool manufacturing method and device, equipment and a storage medium, and relates to the technical field of automatic data processing.The method comprises the steps that in response to a change request of a business process corresponding to an SOP document, key information in the change request is extracted; matching the key information with a process knowledge graph of the business process, and identifying a to-be-changed node and a to-be-changed process path in the business process; determining the change content of the business process according to the node to be changed and the process path to be changed; obtaining a structure template corresponding to the SOP document, wherein the structure template comprises a plurality of content modules; and according to the change content, modifying the text content of at least one content module in the plurality of content modules and generating a modified SOP document. The method has the technical effect that the requirements of flow change and quick and consistent updating of the SOP document are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of automated data processing, and particularly to a method, apparatus, device, and storage medium for creating an SOP tool. Background Art

[0002] With the increasing demand for standardization in various industries, SOP (Standard Operating Procedure) tools have been widely used. SOP tools can help enterprises quickly formulate various standard operation procedures and generate process documents. However, traditional SOP tools have the problem of untimely updates. When the business process changes, it is impossible to quickly locate the change points and automatically update the SOP document. This results in a large amount of repetitive work for enterprises to keep the SOP document consistent with the changed process.

[0003] Currently, if the business process changes, it is necessary to manually check the entire process, identify the change points, and manually modify the corresponding SOP document. However, in a complex or frequently changing business environment, the above method is inefficient and cannot meet the requirement of quickly updating the SOP document in line with the process changes. Summary of the Invention

[0004] This application provides a method, apparatus, device, and storage medium for creating an SOP tool to meet the requirement of quickly updating the SOP document in line with the process changes.

[0005] In a first aspect, this application provides a method for creating an SOP tool, the method including: opening a target website in a browser and logging in to a target web page in the target website; opening a plurality of target sub-pages in the target web page, and filling a preset search content in a search bar in each of the target sub-pages to perform a search, obtaining a plurality of sub-page links; obtaining a preset keyword and a custom extraction rule; extracting elements corresponding to a target report from each of the sub-page links according to the preset keyword and the custom extraction rule, and determining a download link of the target report in each of the sub-page links according to the elements corresponding to the target report; downloading the target report according to the download link of the target report in each of the sub-page links, and saving the target report to a local area.

[0006] By adopting the above technical solution, the SOP tool manufacturing method responds to a business process change request. By extracting key information in the request and performing semantic matching with the process knowledge graph, it can accurately identify the nodes and process paths to be changed in the business process, thereby determining the specific content of the change. After obtaining the structure template of the SOP document, this method can locate the specific module that needs to be content-changed and update it by means of text content modification, replacement, etc. At the same time, this method also uses means such as content structured processing and process simulation verification to improve the correctness of the change. Finally, the intelligent synchronous update of the business process change and the SOP document is realized. The entire technical solution forms a closed-loop process driven by business process changes, avoiding the repetitive labor of manual document updates, improving the efficiency, quality and accuracy of SOP document updates, and meeting the requirements of rapid and consistent updates of process changes and SOP documents.

[0007] Optionally, the key information includes keywords and key action words. The matching of the key information with the process knowledge graph of the business process to identify the nodes and process paths to be changed in the business process includes: searching for nodes containing the keywords in the node information of the process knowledge graph to obtain a node set, and searching for paths containing the key action words in the path information of the process knowledge graph to obtain a path set; calculating the semantic similarity between each node in the node set and the key information, and the semantic similarity between each path in the path set and the key information; determining the nodes with a semantic similarity greater than a preset node threshold in the node set as the nodes to be changed; determining the paths with a semantic similarity greater than a preset path threshold in the node set as the process paths to be changed.

[0008] By adopting the above technical solution, by searching for nodes containing keywords in the node information of the process knowledge graph and paths containing key action words in the path information, a node set and a path set are formed. Then, the semantic similarity between each node and path in the node set and path set and the key information is calculated. Finally, the nodes with a similarity greater than the preset threshold are determined as the nodes to be changed, and the paths are determined as the paths to be changed. This semantic matching method combining keywords and key action words can more accurately identify the positions to be changed in the business process and determine the change scope. Because keywords can locate concept nodes and key action words can determine execution paths, the combination of the two can accurately lock the semantic positions of the changes. Calculating the semantic similarity for quantitative judgment can avoid missed identification, and the preset threshold can flexibly adjust the identification granularity. The accuracy of identifying the positions to be changed is improved.

[0009] Optionally, determining the change content of the business process according to the node to be changed and the process path to be changed includes: performing an association analysis on the node to be changed and the process path to be changed to determine the scope of influence; obtaining the input and output of the node to be changed and the pre-path and post-path of the process path to be changed; using the input and output of the node to be changed, the pre-path and post-path of the process path to be changed, and the scope of influence as the content to be changed in the business process; and determining the business process nodes and paths to be modified according to the content to be changed in the business process, where the business process nodes and paths to be modified are the change content of the business process.

[0010] By adopting the above technical solution, the solution first performs an association analysis on the determined node to be changed and the path to be changed to judge the scope of influence of the change. Then it obtains the input and output of the node to be changed, as well as the pre-path and post-path of the path to be changed. The above information is comprehensively used as the content to be changed in the business process. Finally, according to the content to be changed, the business process nodes and paths that really need to be modified are determined as the final change content. This method judges the impact area through association analysis, and then finds out the upstream and downstream paths involved in the change through input-output analysis, so as to comprehensively determine the scope of the change. And on this basis, the change content is further refined. This can avoid the situation of excessive or too small changes, ensure that the change covers the impact area and does not exceed the necessary scope. This way of determining the change content is both comprehensive and precise, which can maximize the accuracy of the business process change content and provide a reliable basis for the corresponding update of the subsequent SOP document.

[0011] Optionally, modifying the text content of at least one of the multiple content modules according to the change content and generating a modified SOP document includes: parsing the change content to determine at least one of the content modules where the text content to be changed in the SOP document is located, and determining the text content to be modified in at least one of the content modules; modifying the text content to be modified to obtain the target text content; replacing the target text content into the corresponding at least one of the content modules to update the text content of at least one of the content modules; and generating a modified SOP document in the structure template according to the updated text content of at least one of the content modules.

[0012] By adopting the above technical solution, first, the changed content is parsed to determine the content module where the text content to be changed is located, as well as the specific text to be modified in the module. Then, the text to be modified is rewritten to obtain the target text. And the original text in the content module is replaced with the target text to complete the update of the module text content. Finally, the updated content module is filled in the structure template to form the modified SOP document. This solution of parsing the changed content to determine the modification position and scope and performing text replacement and update in a modular and localized manner can effectively achieve the precise change of the SOP document, quickly respond to the changes in the business process, automatically generate the modified SOP document, reduce manual operations, and improve the efficiency of SOP document update and maintenance.

[0013] Optionally, before obtaining the structure template corresponding to the SOP document, it further includes: performing a structuring process on the SOP document to extract the text content and picture content in the SOP document; dividing the text content and the picture content according to the structural characteristics of the SOP document to obtain a plurality of content units; determining the content types of the respective content units, and classifying the plurality of content units according to the content types; generating the structure template corresponding to the SOP document according to the classified plurality of content units, the structure template including a plurality of content modules corresponding to the content types, and each of the content modules being filled with the content of the corresponding content unit.

[0014] By adopting the above technical solution, first, the SOP document is structured to extract the text content and picture content. Then, according to the structural characteristics of the SOP document, the extracted content is divided into a plurality of content units. Next, the content types of the respective content units are determined, and the content units are classified according to the content types. Finally, the structure template corresponding to the SOP document is generated according to the classified content units. The template includes a plurality of content modules corresponding to the content types, and each module is filled with the corresponding content unit, realizing the intelligent parsing and abstraction of the SOP document, making the SOP document transformed into a modular structure corresponding to the business process, realizing the intelligent structuring and modularization of the SOP document, aligning the document content with the business process, and facilitating the rapid update of the SOP document oriented to business changes.

[0015] Optionally, after modifying the text content of at least one of the multiple content modules and generating a modified SOP document, the following steps are further included: simulating and executing the modified business process corresponding to the modified SOP document through a process engine; comparing the execution result of the modified business process with the execution result of the business process; if the execution results of the modified business process and the business process are consistent, replacing the SOP document with the modified SOP document; if the execution results of the modified business process and the business process are inconsistent, the verification fails and the SOP document needs to be modified again.

[0016] By adopting the above technical solution, after generating the modified SOP document, the process engine is also used to simulate and execute the corresponding modified business process. Then, the execution result is compared with the execution result of the original business process. If the two results are consistent, it is confirmed that the SOP document is correctly modified and the original document is officially replaced. If the results are inconsistent, it is considered that the verification fails and the SOP document needs to be modified again. This mechanism based on process simulation verification can efficiently and automatically verify the correctness of the modified SOP document. It avoids the defect that the modified document does not match the actual business process. At the same time, it also standardizes and makes the verification process repeatable, eliminating the need for manual verification one by one, saving a large amount of labor costs.

[0017] Optionally, after modifying the text content of at least one of the multiple content modules and generating a modified SOP document, the following steps are further included: sending the modified SOP document to the terminal device of the reviewer; receiving the review opinion sent by the terminal device and modifying the modified SOP document according to the review opinion.

[0018] By adopting the above technical solution, after modifying the SOP document, it is sent to the terminal device of the reviewer to obtain manual review opinions. Then, the SOP document is further adjusted and modified according to the review opinions. This mechanism combining automatic modification and manual review can give full play to the advantages of both, maximizing the modification effect. Automatic modification ensures high efficiency, while manual review can discover problems that may be missed by the automatic method, improving the accuracy of modification. The combination of the two can generate a higher-quality modification result. At the same time, the review opinions can also serve as an important feedback for optimizing the modification plan, contributing to the continuous improvement of the automatic modification model.

[0019] In a second aspect, the present application provides an apparatus for manufacturing an SOP tool. The apparatus includes: an extraction module, a matching module, a determination module, an acquisition module, and an output module. Among them, the extraction module is configured to extract key information in the change request in response to a change request for a business process corresponding to an SOP document. The matching module is configured to match the key information with a process knowledge graph of the business process to identify nodes to be changed and process paths to be changed in the business process. The determination module is configured to determine the change content of the business process according to the nodes to be changed and the process paths to be changed. The acquisition module is configured to acquire a structure template corresponding to the SOP document, where the structure template includes a plurality of content modules. The output module is configured to modify the text content of at least one of the plurality of content modules according to the change content and generate a modified SOP document.

[0020] In a third aspect, the present application provides an electronic device, adopting the following technical solution: including a processor, a memory, a user interface, and a network interface. The memory is used to store instructions. The user interface and the network interface are used to communicate with other devices. The processor is used to execute the instructions stored in the memory so that the electronic device executes a computer program of any one of the above SOP tool manufacturing methods.

[0021] In a fourth aspect, the present application provides a computer-readable storage medium, adopting the following technical solution: storing a computer program that can be loaded and executed by a processor for any one of the above SOP tool manufacturing methods.

[0022] In summary, the present application includes at least one of the following beneficial technical effects: 1. Meet the requirement of rapid and consistent update of process changes and SOP documents; 2. Efficiently and automatically verify the correctness of the modified SOP document. Avoid the defect that the modified document does not match the actual business process. At the same time, it also standardizes and makes the verification process repeatable, eliminating the need to rely on manual verification one by one, saving a large amount of labor costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 is a flowchart of a method for manufacturing an SOP tool provided by an embodiment of the present application; Figure 2 is a structural diagram of an apparatus for manufacturing an SOP tool provided by an embodiment of the present application; Figure 3 is a structural diagram of an electronic device provided by an embodiment of the present application.

[0024] Description of the drawing reference numerals: 1000, electronic device; 1001, processor; 1002, communication bus; 1003, user interface; 1004, network interface; 1005, memory. Detailed implementation manners

[0025] In order to enable those skilled in the art to better understand the technical solutions in this specification, the following will clearly and completely describe the technical solutions in the embodiments of this specification with reference to the accompanying drawings in the embodiments of this specification. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments.

[0026] In the description of the embodiments of this application, words such as "exemplary", "for example" or "for illustration" are used to indicate examples, illustrations or explanations. Any embodiment or design solution described as "exemplary", "for example" or "for illustration" in the embodiments of this application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Exactly speaking, using words such as "exemplary", "for example" or "for illustration" aims to present relevant concepts in a specific manner.

[0027] Figure 1 is a schematic flowchart of a method for manufacturing an SOP tool provided by an embodiment of this application. It should be understood that although Figure 1 the steps in the flowchart are sequentially shown according to the indication of the arrows, these steps are not necessarily executed in the order indicated by the arrows; unless there is a clear description in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders; and Figure 1 at least a part of the steps in

[0028] This application discloses a method for manufacturing an SOP tool. As Figure 1 shown, this method includes S101 - S105.

[0029] S101, in response to a change request for the business process corresponding to the SOP document, extract the key information in the change request.

[0030] The business process corresponding to the SOP document refers to the business process described in the SOP document. In actual business operations of an enterprise, an SOP is formulated to standardize a certain business work process.

[0031] A change request for a business process refers to a change application submitted by a business department when the actual business situation requires modifying or optimizing the original business process. Such requests may stem from the need for process optimization, process changes caused by business adjustments, etc.

[0032] The key information in a change request mainly refers to the keywords and key action words in the change request. For example, a change request may mention "cancel the review node" or "merge the steps of filling out the form". Here, "cancel" and "merge" are key action words, while "review" and "filling out the form" are keywords.

[0033] By extracting this key information from the change request, it can help determine the specific nodes and paths where the business process needs to be changed in the follow-up. For example, a request containing "cancel" may correspond to a node that needs to be deleted, and a request containing "merge" may require merging two consecutive process steps, etc.

[0034] Generally speaking, in response to a business process change request and extracting the key information of the request is to locate the specific positions in the business process that need to be adjusted through key information analysis, so as to specifically implement the process change in the follow-up.

[0035] In an example, the current company's new product development SOP document corresponds to a new product development business process from project establishment to production. A change request for optimizing the existing business process is proposed: "Cancel the process of duplicate item checking after project establishment review and move it to after requirements review". In response to such a change request, extract the keyword "cancel" and the key action word "move" in the request, as well as the key nodes "project establishment review" and "duplicate item checking". The purpose of extracting this key information is to locate the specific nodes and paths in the business process that need to be adjusted for process change.

[0036] Specifically, in the business process knowledge graph of new product development, search for the area containing the above keywords and key nodes, and find that "duplicate item checking" is indeed after "project establishment review", which verifies the accuracy of the change request target. Then, based on the two key action words "cancel" and "move", we determine that the "duplicate item checking" node after "project establishment review" needs to be cancelled and moved to after "requirements review". Thus, through the key information, we have located the specific change position in the business process. Such extraction and analysis of key information can quickly determine the target position of the process change, effectively improve the response speed and accuracy of SOP updates, and avoid the situation where a large amount of manual judgment and positioning is required for process adjustment.

[0037] S102, Match the key information with the process knowledge graph of the business process to identify the nodes to be changed and the process paths to be changed in the business process.

[0038] Process Knowledge Graph: It is an abstract representation of business processes. Each activity step of the business process is represented by a node, and the sequential relationship between nodes is represented by a line, forming a process path network. The process knowledge graph fully reflects the topological structure of the business process.

[0039] Nodes to be changed: Refer to the nodes in the process knowledge graph that need to be changed, such as nodes to be deleted, moved, or added. It is determined based on the keywords extracted from the change request.

[0040] Process paths to be changed: Refer to the process paths in the process knowledge graph that contain nodes to be changed and need to be changed. For example, after a node on the path is deleted, the path whose sequence before and after needs to be adjusted. It is determined based on the key action words extracted from the change request.

[0041] In an example, in the case of responding to a change request for a new product development process, after extracting the keywords "duplicate item check" and the key action word "cancel", the process knowledge graph of new product development is used to match these key information to identify the specific nodes and process paths to be changed. The reason for this matching is that as an abstract expression of business processes, the process knowledge graph can clearly reflect the topological structure of the process, which helps to quickly locate the specific process segments corresponding to the change requirements.

[0042] Specifically, load the knowledge graph of the new product development process, where the nodes represent various activities such as approvals, designs, and tests, and the lines represent the sequential relationship between nodes. Then search for "duplicate item check" in the node information of the graph to determine a review-type node; at the same time, search for the path containing "cancel" in the path information to determine that the process path from "project establishment review" to "duplicate item check" needs to be adjusted. According to the key information, match the corresponding nodes and paths on the graph to identify the "duplicate item check" node and its precursor path as the targets to be changed. Such knowledge graph matching can avoid manually judging and locating nodes and paths one by one, thereby improving the change response efficiency.

[0043] Based on the above embodiments, as an alternative implementation, in S102: The key information includes keywords and key action words. Matching the key information with the process knowledge graph of the business process to identify the nodes to be changed and the process paths to be changed in the business process specifically includes the following steps: Keywords: Refer to the nouns in the change request that describe the changed business or object, such as "contract review", "purchase application", etc. It can help locate the changed nodes on the business process graph.

[0044] Key action words: Refer to the verbs in the change request that represent operation behaviors, such as "delete", "add", etc. It can help determine the change method of the process path.

[0045] Nodes to be changed: Refers to the business process nodes that need to be changed in the requirements. Nodes matched according to keywords, such as the "contract review" that needs to be deleted.

[0046] Process path to be changed: Refers to the business process path that contains or is associated with the nodes to be changed. The path to be adjusted is matched according to the key action words, such as the paths before and after the "contract review" is deleted.

[0047] S20. Search for nodes containing the keyword in the node information of the process knowledge graph to obtain a set of nodes, and search for paths containing the key action words in the path information of the process knowledge graph to obtain a set of paths.

[0048] In one example, in the case of procurement process change, the keyword "contract review" and the key action word "cancel" are extracted from the change request "cancel contract review". To locate the specific nodes and paths to be changed, these key information need to be searched in the knowledge graph of the procurement process.

[0049] The specific approach is as follows. First, search for "contract review" in the node information of the graph to determine a node named "contract review". At the same time, search for paths containing the meaning of "cancel" in the path information to determine the input and output paths of the "contract review" node. Thus, the node "contract review" to be changed containing the keyword and the front and back dependent paths containing the key action words are obtained.

[0050] Such key information matching can avoid manually judging and locating nodes and paths in a complex graph, thereby improving the efficiency of change response. After obtaining the set of nodes and the set of paths, it also provides a candidate range for determining the final change target.

[0051] S21. Calculate the semantic similarity between each node in the set of nodes and the key information, and the semantic similarity between each path in the set of paths and the key information.

[0052] In one example, after obtaining the set of nodes containing the keyword "contract review" and the set of paths containing the key action word "cancel" on the procurement process knowledge graph, it is necessary to further calculate the semantic similarity between these candidate nodes and paths and the key information to determine the final change object. Because the nodes or paths matched on the graph may not be exactly the same as the change requirements semantically, it is necessary to further evaluate the semantic consistency and extract the most matching target.

[0053] Extract the name keywords of each node in the node set respectively, perform semantic comparison with "contract review", and calculate the text similarity; at the same time, extract the key action words for each path in the path set and compare the semantic matching degree with "cancel". Finally, we select the node and path in the node set and path set that are semantically closest to the key information respectively as the final node to be changed "contract review" and its front and back dependent paths.

[0054] Semantic similarity is an index used to calculate the closeness of the semantics of two texts. It is quantified by comparing whether the meanings of the two texts are close. In this application, the calculation of semantic similarity mainly uses a method based on word vectors: obtaining the vector representation of words through the word embedding algorithm and calculating the cosine similarity of the two text vectors.

[0055] S21, determine the nodes with semantic similarity greater than the preset node threshold in the node set as the nodes to be changed; determine the paths with semantic similarity greater than the preset path threshold in the node set as the process paths to be changed.

[0056] S103, determine the change content of the business process according to the nodes to be changed and the process paths to be changed.

[0057] The change content may include: deleting a node to be changed, moving or inserting a node to be changed to other positions, modifying the attributes or parameters of a node to be changed, changing the front and back order of a process path to be changed, adding or reducing nodes in the process path to be changed, adjusting the input and output and front and back dependencies of the node to be changed, etc.

[0058] In short, the change content is the adjustment operations that need to be specifically implemented for nodes and paths on the basis of determining the positions to be changed, so as to optimize or improve the business process.

[0059] In an example, on the basis of determining the "duplicate item check" node and its predecessor path that need to be changed in the new product development process, it is necessary to further analyze the input, output and influence range of this node to determine the specific change plan, that is, the change content. The reason for determining the change content is that only determining the change position is not enough to implement process optimization, and a new node arrangement method also needs to be designed to meet the change request.

[0060] Specifically, it is analyzed that the input of the "duplicate item check" node is the output of the "project establishment review" node, and its output is the input of the "requirement review". And it is judged that the influence range of this node in the whole process is small. Therefore, the determined change content is: deleting the "duplicate item check" node and directly connecting the output of the "project establishment review" to the input of the "requirement review". In this way, the repetitive check can be skipped to achieve optimized requirements.

[0061] Based on the above embodiments, as an alternative implementation, in S103: Determining the change content of the business process according to the node to be changed and the process path to be changed specifically includes the following steps: S30. Conduct an association analysis on the node to be changed and the process path to be changed to determine the scope of influence.

[0062] In one example, after determining the "contract review" node that needs to be changed in the procurement process and its front and back dependency paths, an association analysis needs to be carried out to determine the scope of influence of the change. The reason for conducting the association analysis is that nodes and paths cannot be viewed in isolation, and their changes may involve other related nodes and processes, and it is necessary to clarify the overall impact of the change.

[0063] Specifically, it is analyzed that the input of the "contract review" node comes from the "quotation procurement" node, and its output affects the "order generation" node. At the same time, deleting this node will directly affect the connection relationship of its front and back dependency paths. Through the association analysis, it is judged that the "contract review" is a relatively independent node, and the scope of its change influence is small, mainly involving the adjustment of its front and back paths, as well as the input and output changes of adjacent nodes.

[0064] S31. Obtain the input and output of the node to be changed and the pre-path and post-path of the process path to be changed.

[0065] In one example, after determining the scope of influence of the change of the "contract review" node, it is necessary to further obtain the input and output of this node, as well as the front and back dependency paths. Obtaining this information is to clarify the dependency relationship between the node and the path, and the relevant parameters that need to be adjusted after the change.

[0066] Specifically, locate the "contract review" node in the procurement process flowchart, and analyze that its input comes from the procurement contract of the "quotation procurement" node, and the output is the review opinion; its precursor path comes from "quotation procurement", and the subsequent path is connected to "order generation". After obtaining these dependency information, it can be clarified that after the "contract review" node is removed, it is necessary to directly connect "quotation procurement" to "order generation" and adjust the parameters so that the order generation directly uses the procurement contract of the quotation procurement as the input.

[0067] S32. Take the input and output of the node to be changed, the pre-path and post-path of the process path to be changed, and the scope of influence as the content to be changed in the business process.

[0068] In one example, through the previous analysis, the input (procurement contract) and output (review opinion) of the contract review node in the procurement process, as well as its front and back dependency paths and scope of influence, are obtained. According to the change requirements, these information are used as the finally determined change content.

[0069] Due to the input / output and path dependencies of the nodes within the affected scope, corresponding adjustments need to be made after deleting the contract review node to ensure the normal operation of the changed process. Specifically, the input / output, the front and back dependency paths of the contract review node, and the determined affected scope are unified as the content to be changed in the procurement process change. That is, delete the contract review node, and directly use the contract for quotation procurement as the input for order generation, skipping the contract review link.

[0070] S33. Determine the business process nodes and paths to be modified according to the content to be changed in the business process. The business process nodes and paths to be modified are the change content of the business process.

[0071] In an example, after determining the content to be changed in the procurement process, it is necessary to clarify the nodes and paths that ultimately need to be modified based on this content as the specific plan for the process change. Because in a complex business process flowchart, not all relevant nodes and paths need to be modified, and the actual targets to be adjusted need to be determined based on the change analysis results.

[0072] Specifically, through the analysis of the change content in the early stage, it is clear that it is mainly necessary to delete the "contract review" node and correspondingly adjust its front and back dependency paths, and directly connect the output of "quotation procurement" to "order generation". Then these are determined as the nodes and paths to be modified.

[0073] S104. Obtain the structure template corresponding to the SOP document. The structure template includes multiple content modules.

[0074] Structure template: It is an abstract layout representation of the SOP document, guiding the organization of content by defining the logical structure of the document. The structure template may include the structural divisions such as chapters and sections of the document, as well as the titles and formats of each part.

[0075] Content module: It refers to the different content units that make up the structure template. Such as text modules like "process overview" and "responsibility definition", as well as picture or table modules like "process schematic diagram" and "operation specification". The content modules correspond to the template structure and are used to carry different types of actual content.

[0076] In an example, after determining the change content in the new product development process, it is necessary to obtain the structure template of the corresponding new product development SOP document, which includes various content modules. The structure template is obtained because the SOP document has a standard format framework, and directly making changes to the original document cannot ensure the formal unity. The structure template can update the document content according to the established layout.

[0077] Specifically, extract the template of the new product development SOP, which includes text modules such as process overview, role permissions, and detailed operation processes, as well as picture modules such as process schematic diagrams and approval forms. Then, for the changed content, determine that it mainly involves the update of the operation process text module. Therefore, subsequently, without changing the content of other modules of the template, only locate the operation process module for content update.

[0078] By obtaining the structure template and identifying relevant content modules, targeted changes can be made to the document content instead of rewriting the entire text, which not only saves workload but also ensures the consistency of the document format.

[0079] S105, according to the changed content, modify the text content of at least one content module among multiple content modules and generate the modified SOP document.

[0080] In one example, after obtaining the structure template of the new product development SOP document and identifying the "operation process" text content module that needs to be updated, according to the process change content determined in the early stage, the text in this module is modified specifically to generate the changed SOP document. The reason for this step is to accurately reflect the result of process optimization on the premise of maintaining the format standardization of the SOP document and ensure that the document is consistent with the actual process.

[0081] Specifically, according to the changed content, that is, the optimization plan of "deleting the duplicate item check node", locate the corresponding text description of this node in the operation process module, delete its text content and related process diagrams. At the same time, adjust the connection relationship of the front and back document content to make the process sequence described in the document consistent with the change requirements. Through the modification and update of specific content modules, a new product development SOP document reflecting the changes is generated.

[0082] This targeted content update and editing enables the document to quickly respond to process changes and avoid duplicate work. After the new SOP is released, the training and understanding costs for employees will also be reduced.

[0083] Specifically, the procurement business process of a certain company includes steps such as "procurement application", "quotation procurement", and "contract review", corresponding to a procurement SOP document. Now the demand side proposes that in order to improve the procurement response speed, the process needs to be simplified and the step of "contract review" should be cancelled.

[0084] For such a change requirement, first extract the keywords "cancel" and "contract review" from the request, and determine in the procurement process knowledge graph that "contract review" is an independent node, which is after "quotation procurement". Then this node and its subsequent paths need to be adjusted.

[0085] Next, obtain the structure template of the procurement SOP document, which includes text modules such as "Process Overview" and "Operation Specifications". For the cancellation of "Contract Review", it is necessary to update the document description process in the "Operation Specifications" module. Finally, in the "Operation Specifications" module, the text content related to "Contract Review" is deleted, and the output of "Quotation Procurement" is directly connected to the input of the subsequent "Order Generation", and the corresponding process diagram is adjusted. After the targeted content update, a new version of the SOP document that conforms to the simplified procurement process is generated.

[0086] According to the change content, modifying the text content of at least one content module among multiple content modules and generating the modified SOP document specifically includes: Analyze the change content, determine at least one content module where the text content to be changed in the SOP document is located, and determine the text content to be modified in the at least one content module. Modify the text content to be modified to obtain the target text content; replace the target text content into the corresponding at least one content module to update the text content of the at least one content module; generate the modified SOP document in the structure template according to the updated text content of the at least one content module.

[0087] In an example, after determining that the "Contract Review" node needs to be deleted from the procurement process, analyze that this change will affect the "Operation Specifications" content module of the SOP document. The reason for analyzing the affected content module is that not all modules need to be changed, and the scope of the change needs to be clarified.

[0088] Specifically, the "Operation Specifications" module details the standard operation process of contract review. For this change, it is necessary to locate the corresponding text content in this module, delete the operation steps related to contract review, and adjust the connection relationship of the front and back content to express that the output of quotation procurement is directly connected to order generation.

[0089] After obtaining the modified text content of the "Operation Specifications", replace it into the corresponding module in the SOP structure template to complete the text update of this module. Then, while keeping the content of the remaining modules unchanged, generate an SOP document reflecting the new process. This parsing and identification of the scope of the change impact, as well as the targeted text content update, can quickly and efficiently complete the modification of the SOP document, avoid repetitive labor, and keep the document consistent with the new process.

[0090] Before obtaining the structure template corresponding to the SOP document, it further includes: structuring the SOP document, extracting the text content and picture content in the SOP document; dividing the text content and picture content according to the structural characteristics of the SOP document to obtain multiple content units; determining the content types of each content unit, and classifying the multiple content units according to the content types; generating the structure template corresponding to the SOP document according to the classified multiple content units, and the structure template includes multiple content modules corresponding to the content types, and the content of the corresponding content unit is filled in each content module.

[0091] In an example, after obtaining the original procurement SOP document, it is first necessary to structure it, mainly for the purpose of extracting text and picture content, and determining the semantic structure of each content block.

[0092] The specific approach is to use NLP technology to parse the format layout of the SOP, identify text structures such as titles, paragraphs, lists, etc., as well as picture content such as tables, flowcharts, etc., and divide them into multiple content units. Then, through content analysis, determine the semantic types of these units, such as "process overview", "operation instructions", etc. Next, according to the semantic types of the content units, use natural language understanding technology for classification, and organize and generate the framework structures of corresponding content modules such as "process introduction", "responsibility description", "operation specification", etc. The corresponding type of text and picture content units are filled in each module.

[0093] After the above structural processing, a content module template reflecting the organizational structure and semantics of the original SOP document is obtained. During subsequent changes, it is possible to directly locate to the module level for text replacement without re-layout design.

[0094] After modifying the text content of at least one of the multiple content modules and generating the modified SOP document, it further includes: Simulating and executing the modified business process corresponding to the modified SOP document through a process engine; comparing the execution result of the modified business process with the execution result of the business process; if the execution results of the modified business process and the business process are consistent, then replace the SOP document with the modified SOP document, if the execution results of the modified business process and the business process are inconsistent, then the verification fails and the SOP document needs to be modified again.

[0095] In an example, after changing the "operation specification" module of the procurement SOP, a modified SOP document reflecting the new process is generated. Next, it is necessary to verify the correctness of the document change.

[0096] The specific approach is to use a process simulation engine to simulate and execute the procurement processes corresponding to the SOP documents before and after modification multiple times. Then, compare the execution results of the two, such as indicators like total time used and number of approvals. If the execution result of the modified process is the same as the original process, it indicates that the updated SOP document correctly reflects the new process and can directly replace the existing document version. If the execution results are inconsistent, it means that the document update may be incorrect, and the document content needs to be modified again and verified. In this way, simulation verification can check whether the SOP document update is correct, avoiding chaos in business processes caused by directly pushing incorrect documents. It can also promptly identify unconsidered business impacts and adjust the document.

[0097] After modifying the text content of at least one content module among multiple content modules and generating the modified SOP document, it further includes: Sending the modified SOP document to the terminal device of the reviewer; receiving the review opinions sent by the terminal device, and modifying the modified SOP document according to the review opinions.

[0098] In an example, after changing the "operation specification" module of the procurement SOP, a modified SOP document is generated. To ensure the document quality, manual review is required in the next step.

[0099] The specific operation is to distribute the updated SOP document to relevant reviewers through the document management system. These reviewers can view the document on their terminal devices. The reviewers will check whether the content of the updated document meets the requirements according to the new process and business needs. Then, submit review opinions in the system, such as pointing out the parts that need to be modified or requesting further improvement of certain content of the document. After collecting review opinions from all aspects, make targeted revisions to the document. For example, supplement missing business scenarios and optimize the statement expressions. After repeated modification and improvement, finally form a high-quality SOP document that passes the manual review. Introducing manual review can discover possible errors or deficiencies in automatic document updates, ensuring that the quality of the SOP document meets the requirements. It also allows relevant personnel to participate in the formation of the new document, increasing the acceptance level of the document.

[0100] Based on the above method, the present application also discloses a manufacturing device for an SOP tool, as Figure 2 shown Figure 2 is a schematic structural diagram of a manufacturing device for an SOP tool provided by an embodiment of the present application.

[0101] An apparatus for manufacturing an SOP tool, comprising: an extraction module, a matching module, a determination module, an acquisition module, and an output module; wherein, the extraction module is configured to extract key information in a change request in response to a change request for a business process corresponding to an SOP document; the matching module is configured to match the key information with a process knowledge graph of the business process to identify nodes to be changed and process paths to be changed in the business process; the determination module is configured to determine the change content of the business process according to the nodes to be changed and the process paths to be changed; the acquisition module is configured to acquire a structure template corresponding to the SOP document, and the structure template includes a plurality of content modules; the output module is configured to modify the text content of at least one of the plurality of content modules according to the change content and generate a modified SOP document.

[0102] In one example, the matching module is further configured to search for nodes containing keywords in the node information of the process knowledge graph to obtain a node set, and search for paths containing key action words in the path information of the process knowledge graph to obtain a path set; calculate the semantic similarity between each node in the node set and the key information, and the semantic similarity between each path in the path set and the key information; determine the nodes with a semantic similarity greater than a preset node threshold in the node set as the nodes to be changed; determine the paths with a semantic similarity greater than a preset path threshold in the path set as the process paths to be changed.

[0103] In one example, the determination module is further configured to perform an association analysis on the nodes to be changed and the process paths to be changed to determine the scope of influence; obtain the input and output of the nodes to be changed and the pre-path and post-path of the process paths to be changed; use the input and output of the nodes to be changed, the pre-path and post-path of the process paths to be changed, and the scope of influence as the change content of the business process; determine the business process nodes and paths to be modified according to the change content of the business process, and the business process nodes and paths to be modified are the change content of the business process.

[0104] In one example, the output module is further configured to parse the change content to determine at least one of the content modules where the text content to be changed in the SOP document is located, and determine the text content to be modified in at least one content module; modify the text content to be modified to obtain target text content; replace the target text content into the corresponding at least one content module to update the text content of at least one content module; generate a modified SOP document in the structure template according to the updated text content of at least one content module.

[0105] In one example, the above device is also used to structurally process the SOP document, extract the text content and picture content in the SOP document; divide the text content and picture content according to the structural characteristics of the SOP document to obtain multiple content units; determine the content types of the content units, and classify the multiple content units according to the content types; generate a structural template corresponding to the SOP document according to the classified multiple content units, and the structural template includes multiple content modules corresponding to the content types, and the content of the corresponding content unit is filled in each content module.

[0106] In one example, the above device is also used to simulate and execute the modified business process corresponding to the modified SOP document through a process engine; compare the execution result of the modified business process with the execution result of the business process; if the execution results of the modified business process and the business process are consistent, replace the SOP document with the modified SOP document, and if the execution results of the modified business process and the business process are inconsistent, the verification fails and the SOP document needs to be modified again.

[0107] In one example, the above device is also used to send the modified SOP document to the terminal device of the reviewer; receive the review opinion sent by the terminal device, and modify the modified SOP document according to the review opinion.

[0108] It should be noted that: when the device provided in the above embodiment realizes its functions, only the above-mentioned division of each functional module is used for illustration. In actual application, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be seen in the method embodiment, which will not be repeated here.

[0109] Please refer to Figure 3 , which provides a schematic structural diagram of an electronic device according to an embodiment of the present application. As Figure 3 shown, the electronic device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002.

[0110] Among them, the communication bus 1002 is used to realize the connection and communication between these components.

[0111] Among them, the user interface 1003 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 1003 may further include a standard wired interface and a wireless interface.

[0112] Among them, the network interface 1004 may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).

[0113] Among them, the processor 1001 may include one or more processing cores. The processor 1001 connects various parts within the entire server through various interfaces and lines. By running or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and by calling data stored in the memory 1005, it executes various functions of the server and processes data. Optionally, the processor 1001 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The processor 1001 may integrate a combination of one or several of a central processing unit (CPU), a graphics processing unit (GPU), and a modem, etc. Among them, the CPU mainly processes the operating system, user interface, application programs, etc.; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 1001 and may be implemented separately by a single chip.

[0114] Among them, the memory 1005 may include random access memory (RAM) and may also include read-only memory. Optionally, the memory 1005 includes a non-transitory computer-readable storage medium. The memory 1005 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 1005 may include a program storage area and a data storage area. Among them, the program storage area may store instructions for implementing the operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store the data involved in the above-mentioned various method embodiments. Optionally, the memory 1005 may also be at least one storage device located far from the aforementioned processor 1001. As Figure 3 shown, the memory 1005, as a computer storage medium, may include an operating system, a network communication module, a user interface module, and an application program for a method of manufacturing an SOP tool.

[0115] In Figure 3 In the electronic device 1000 shown, the user interface 1003 is mainly used to provide an interface for the user to input and obtain the data input by the user; and the processor 1001 can be used to call an application program stored in the memory 1005 for a method of manufacturing an SOP tool. When executed by one or more processors, the electronic device is caused to execute one or more of the methods as described in the above embodiments.

[0116] An electronic device-readable storage medium stores instructions. When executed by one or more processors, the electronic device is caused to execute one or more of the methods as described in the above embodiments.

[0117] It should be noted that, for the foregoing method embodiments, for simplicity of description, they are all expressed as a series of action combinations. However, those skilled in the art should know that the present application is not limited by the described action sequence, because according to the present application, certain steps may be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the present application.

[0118] In the above embodiments, the descriptions of the various embodiments have their own emphases. For parts not detailed in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

[0119] In several embodiments provided by the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some service interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical or other form.

[0120] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place, or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0121] In addition, in each embodiment of the present application, each functional unit may be integrated into a processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit.

[0122] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present application. The aforementioned memory includes various media that can store program codes, such as USB flash drives, mobile hard disks, magnetic disks, or optical discs.

[0123] The above are only exemplary embodiments of the present disclosure, and the scope of the present disclosure cannot be limited thereby. That is, all equivalent changes and modifications made in accordance with the teachings of the present disclosure still fall within the scope covered by the present disclosure. Those skilled in the art will easily think of other implementation manners of the present disclosure after considering the specification and practicing the present disclosure here. The present application aims to cover any variations, uses, or adaptive changes of the present disclosure, and these variations, uses, or adaptive changes follow the general principles of the present disclosure and include common general knowledge or conventional technical means in the technical field not recorded in the present disclosure. The specification and the embodiments are only regarded as exemplary, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A method for making a SOP tool, characterized in that: The method comprises: Responding to a change request for a business process corresponding to the SOP document, extracting key information from the change request; Matching the key information with the process knowledge graph of the business process to identify the nodes to be changed and the process paths to be changed in the business process; Determining the change content of the business process according to the node to be changed and the process path to be changed; Obtaining a structure template corresponding to the SOP document, wherein the structure template includes multiple content modules; According to the changed content, the text content of at least one of the multiple content modules is modified and a modified SOP document is generated.

2. The method for making a SOP tool according to claim 1, characterized in that, The key information includes keywords and key action words, and matching the key information with the process knowledge graph of the business process to identify the nodes to be changed and the process paths to be changed in the business process includes: Searching for nodes containing the keyword in the node information of the process knowledge graph to obtain a node set, and searching for paths containing the key action words in the path information of the process knowledge graph to obtain a path set; Calculating the semantic similarity between each of the nodes in the node set and the key information, and the semantic similarity between each of the paths in the path set and the key information; Determine the nodes in the node set whose semantic similarity is greater than a preset node threshold as nodes to be changed; The paths in the node set whose semantic similarity is greater than a preset path threshold are determined as the process paths to be changed.

3. The method for making a SOP tool according to claim 1, characterized in that, The determining the change content of the business process according to the node to be changed and the process path to be changed includes: Perform correlation analysis on the node to be changed and the process path to be changed to determine the impact scope; Obtaining the input and output of the node to be changed and the preceding path and the succeeding path of the process path to be changed; The input and output of the node to be changed, the preceding path and the subsequent path of the process path to be changed, and the impact scope are used as the content to be changed of the business process; According to the content to be changed of the business process, the business process nodes and paths to be modified are determined, and the business process nodes and paths to be modified are the changed content of the business process.

4. The method for making a SOP tool according to claim 1, characterized in that, The step of modifying the text content of at least one of the plurality of content modules according to the changed content and generating a modified SOP document comprises: Parsing the changed content, determining at least one of the content modules where the text content that needs to be changed in the SOP document is located, and determining the text content to be modified in at least one of the content modules; Modifying the text content to be modified to obtain target text content; Replacing the target text content with the corresponding at least one of the content modules, and updating the text content of at least one of the content modules; A modified SOP document is generated in the structure template according to the updated text content of at least one of the content modules.

5. The method for making a SOP tool according to claim 1, characterized in that, Before obtaining the structural template corresponding to the SOP document, the method further includes: Performing structural processing on the SOP document and extracting text content and picture content in the SOP document; According to the structural features of the SOP document, the text content and the picture content are divided to obtain a plurality of content units; Determining a content type of each of the content units, and classifying the plurality of content units according to the content type; A structural template corresponding to the SOP document is generated according to the classified multiple content units, wherein the structural template includes multiple content modules corresponding to the content types, and each content module is filled with the content of the corresponding content unit.

6. The method for making a SOP tool according to claim 1, characterized in that, After modifying the text content of at least one of the plurality of content modules and generating a modified SOP document, the method further includes: The modified business process corresponding to the modified SOP document is simulated and executed through the process engine; comparing the execution result of the modified business process with the execution result of the business process; If the modified business process is consistent with the execution result of the business process, the SOP document is replaced with the modified SOP document; if the modified business process is inconsistent with the execution result of the business process, the verification fails and the SOP document is modified again.

7. The method for making a SOP tool according to claim 1, characterized in that, After modifying the text content of at least one of the plurality of content modules and generating a modified SOP document, the method further includes: Send the modified SOP document to the terminal device of the auditor; Receive the audit opinion sent by the terminal device, and modify the modified SOP document according to the audit opinion.

8. A device for making a SOP tool, characterized in that: The device comprises: an extraction module, a matching module, a determination module, an acquisition module and an output module; wherein, The extraction module is used to extract key information in the change request in response to the change request of the business process corresponding to the SOP document; The matching module is used to match the key information with the process knowledge graph of the business process, and identify the nodes to be changed and the process paths to be changed in the business process; The determination module is used to determine the change content of the business process according to the node to be changed and the process path to be changed; The acquisition module is used to acquire a structure template corresponding to the SOP document, wherein the structure template includes a plurality of content modules; The output module is used to modify the text content of at least one of the multiple content modules according to the changed content and generate a modified SOP document.

9. An electronic device, characterized in that: It includes a processor, a memory user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 7.