Document adjustment activity implementation method and device for business process and medium

By adding order splitting and order combination nodes to the business flow chart and combining the execution of the process engine, the problem of the traditional order splitting and order combination process requires adjustment of back-end code, realizing user-friendly document adjustment and improving the flexibility of business processes and efficiency.

CN118963733APending Publication Date: 2024-11-15INSPUR GENERSOFT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411042776.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The traditional order-breaking and order-combining process requires adjustment of the back-end code, which is time-consuming and labor-intensive and has poor user interaction, making it difficult to improve the flexibility and efficiency of business processes.

Method used

Provide a method for implementing document adjustment activities for business processes, including a highly interactive designer and process engine. By adding single-decomposition nodes and combined single nodes in the business process diagram, users can perform document adjustment activities on the front end, and the process engine can follow the process Define the graph to execute business processes and implement split and merge operations.

Benefits of technology

Users can easily adjust documents on the front-end, which improves work efficiency, reduces dependence on underlying code, enhances interactivity with users, and simplifies the document adjustment process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118963733A_ABST
    Figure CN118963733A_ABST
Patent Text Reader

Abstract

The invention discloses a receipt adjustment activity implementation method and device for a business process, and a medium. The method comprises the following steps: adding a business flow chart corresponding to a current business in a designer; based on the operation of the user in the designer, adding a corresponding receipt adjustment node in the business flow chart to form a flow definition chart corresponding to the current business; and based on a process engine, according to the process definition graph, executing a service process corresponding to the current service. Through the designer capable of interacting with the user, the user can conveniently formulate and modify the business process at the front end, and when document adjustment activities (including document splitting activities and document combining activities) are carried out, bottom-layer codes do not need to be changed, but can be realized based on the designer, so that the working efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a method, device and medium for implementing document adjustment activities for business processes. Background Art

[0002] An end-to-end business process refers to the entire process from the demand of a specific scenario to the result of satisfying this demand. This process connects the cause of a transaction with the satisfaction of the result to form an orderly whole, rather than splitting it into pre-process and post-process. In enterprise management, understanding the end-to-end process is crucial to effectively promote and optimize business processes.

[0003] During the process execution, in order to save costs or improve the efficiency of process execution, it is often accompanied by the splitting and merging of documents, which is usually called splitting and merging.

[0004] The traditional process of splitting and combining orders is usually implemented based on the algorithm rules set in the system backend. If you want to add or adjust the algorithm rules, you need to adjust the backend code, which is time-consuming and labor-intensive and has poor interactivity with users. Summary of the invention

[0005] In order to solve the above problems, this application proposes a method for implementing document adjustment activities for business processes, including:

[0006] Identify the designer that enables interaction with the user and the process engine that is used to execute the business process;

[0007] Add a business process diagram corresponding to the current business in the designer; the business process diagram includes multiple business nodes;

[0008] Based on the operation of the user in the designer, a corresponding document adjustment node is added to the business process diagram to form a process definition diagram corresponding to the current business; wherein the document adjustment node includes a split document node and a merge document node;

[0009] Based on the process engine, according to the process definition diagram, the business process corresponding to the current business is executed.

[0010] In one example, executing the business process corresponding to the current business according to the process execution diagram specifically includes:

[0011] According to the process execution diagram, execute each node in sequence;

[0012] When the order splitting node is executed, according to the number of downstream documents corresponding to an adjacent business node on the order splitting node, the business node after the order splitting node is split into multiple parallel business instances corresponding to the number of downstream documents until the next order combining node is executed.

[0013] In one example, executing the business process corresponding to the current business according to the process execution diagram specifically includes:

[0014] When executing to the next order combining node, determine the number of downstream documents corresponding to the previous unpaired order splitting node;

[0015] According to the number of downstream documents, a document consolidation activity is performed on the business instance entering the document consolidation node.

[0016] In one example, according to the number of downstream documents, a business instance entering the order combining node is subjected to an order combining activity, specifically including:

[0017] Determine the current number of service instances currently entering the single-order node;

[0018] If the current quantity does not reach the downstream document quantity, the business instance that has entered the order-combining node will be suspended until the business instance that has entered the order-combining node reaches the downstream document quantity.

[0019] In one example, suspending the business instance that has entered the order-joining node until the business instance that has entered the order-joining node reaches the number of downstream documents specifically includes:

[0020] Whenever a new service instance enters the combined node, the service instance is suspended;

[0021] Determine whether the total quantity of all suspended business instances reaches the downstream document quantity;

[0022] If not reached, continue to wait for a new service instance entering the combined node;

[0023] If it has been reached, then the document device identifiers corresponding to all business instances are obtained, and it is determined whether the number of types of the document device identifiers reaches the number of downstream documents;

[0024] If not reached, continue to wait for a new service instance entering the combined node;

[0025] If it has been reached, for each document device identifier, according to the timestamp, select the earliest business instance that enters the order-joining node;

[0026] Carry out order consolidation activities based on the business instances selected according to the equipment identification of all documents.

[0027] In one example, according to the process execution diagram, each node is executed in sequence, specifically including:

[0028] When the business instance is executed, the document device identifier corresponding to the business instance is obtained, and the document device identifier is transmitted to the next node in the process execution graph;

[0029] If the next node is still a business instance, the document device ID corresponding to the next node is used to replace the document device ID transmitted by the previous node.

[0030] In one example, based on the operation of the user in the designer, before adding a corresponding document adjustment node to the business process diagram, the method further includes:

[0031] Acquire a plurality of business nodes included in the business process diagram;

[0032] Performing big data analysis based on historical data to determine a number of business nodes with the highest probability of being adjacent to the document adjustment node among the multiple business nodes;

[0033] Several service nodes with the highest probability are rendered and displayed.

[0034] In one example, the designer includes a front-end interactive interface, and the front-end interactive interface includes at least: a display module and a configuration module;

[0035] The display module is used to display the business process diagram and the process definition diagram;

[0036] The configuration module includes multiple business nodes and the document adjustment node; wherein the multiple business nodes are classified and displayed by business field, and the multiple business nodes are added to the business process diagram and the process definition diagram based on the user's operation in the designer.

[0037] On the other hand, the present application also proposes a device for implementing document adjustment activities for business processes, including:

[0038] at least one processor; and,

[0039] a memory communicatively connected to the at least one processor; wherein,

[0040] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: execute the document adjustment activity implementation for the business process as described in any of the above examples.

[0041] On the other hand, the present application also proposes a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to: execute a document adjustment activity for a business process as described in any of the above examples.

[0042] The document adjustment activity implementation method for the business process proposed in this application can bring the following beneficial effects:

[0043] Through the designer that can interact with users, users can conveniently formulate and modify business processes on the front end. When performing document adjustment activities (including splitting and combining activities), there is no need to change the underlying code. Instead, it can be achieved based on the designer, which increases work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0045] Figure 1 A flowchart of a method for implementing a document adjustment activity for a business process in an embodiment of the present application;

[0046] Figure 2 A schematic diagram of a process definition diagram in one scenario in an embodiment of the present application;

[0047] Figure 3 A schematic diagram of a business process execution in one scenario in an embodiment of the present application;

[0048] Figure 4 A schematic diagram of a device for implementing a document adjustment activity for a business process in an embodiment of the present application. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0050] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0051] like Figure 1 As shown, the embodiment of the present application provides a method for implementing a document adjustment activity for a business process, including:

[0052] S101: Determine a designer capable of interacting with a user and a process engine for executing a business process.

[0053] Designer refers to an application that can interact with users, in which users can design and improve business process diagrams. The process engine refers to the engine used to execute specific business processes. Designers and process engines can be concentrated in the corresponding business system, such as ERP system.

[0054] Specifically, the designer includes a front-end interactive interface, which includes at least: a display module and a configuration module.

[0055] Among them, the display module is used to display business process diagrams and process definition diagrams.

[0056] The configuration module contains multiple business nodes and document adjustment nodes. Since business nodes contain many types, they are classified and displayed by business field, and corresponding keyword search functions can also be set. Business nodes are added to business process diagrams and process definition diagrams based on user operations in the designer (such as dragging, clicking, double-clicking, etc.), thereby realizing the design and improvement of business process diagrams in the designer.

[0057] S102: Add a business process diagram corresponding to the current business in the designer; the business process diagram includes multiple business nodes.

[0058] The business process diagram can be directly obtained from other programs through the corresponding interface, or it can be designed by the user through the functions in the designer, or it can be directly used or improved according to the corresponding template in the flowchart library that comes with the designer.

[0059] Of course, the business process diagram can also include corresponding fixed nodes such as "start" and "end".

[0060] S103: Based on the user's operation in the designer, a corresponding document adjustment node is added to the business process diagram to form a process definition diagram corresponding to the current business; wherein the document adjustment node includes a document splitting node and a document merging node.

[0061] The order splitting node indicates that the order splitting activity is performed on the adjacent previous business node, while the order merging node indicates that the order merging activity is performed on multiple adjacent previous nodes.

[0062] like Figure 2As shown in the figure, taking the sales business as an example, the business nodes of the original business process diagram are in the following order: sales order node, outbound order node, delivery order node, and invoice node. After the customer places an order, a sales order will be generated, which can be split in different forms according to different business scenarios, such as splitting documents from multiple perspectives such as warehouse dimension, commodity category dimension, and logistics dimension. Here, we consider splitting based on the warehouse dimension. Through the user's operation, a split order node is set after the sales order, and a combined order node is set after the delivery order, thus forming a process definition diagram corresponding to the current business.

[0063] Of course, before the user performs the corresponding operation, it is also possible to obtain multiple business nodes in the business process diagram, and then perform big data analysis based on historical data to determine the business nodes with the highest probability of being adjacent to the document adjustment node among the multiple business nodes. For example, all historical data within a certain period of time is obtained, the number of occurrences of each business node and the number of times the business node is adjacent to the document adjustment node are extracted, and the two numbers are divided to obtain the probability that the business node is adjacent to the document adjustment node, thereby selecting the business nodes with the highest probability from the business nodes that appear in the current business, and rendering and displaying the business nodes with the highest probability (for example, changing the font, size, background color, etc.), so as to remind the user and facilitate the user to quickly find the business nodes that may need to be adjusted.

[0064] S104: Based on the process engine, according to the process definition diagram, execute the business process corresponding to the current business.

[0065] After obtaining the process definition diagram, the process engine can actually execute the process definition diagram, that is, execute the business process of the current business.

[0066] Specifically, according to the process execution diagram, each node is executed in sequence. Figure 3 As shown, still taking the sales business as an example, when the order splitting node is executed, according to an adjacent business node on the order splitting node (for example, Figure 3 The number of downstream documents corresponding to the sales order node in the table (for example, it is set to 3) is used to split the business nodes after the order splitting node into multiple business instances corresponding to the number of parallel downstream documents until the next order merging node is executed. For example, here we consider splitting based on the warehouse dimension. Different warehouses have different outbound orders and delivery orders, so the outbound order node and the delivery order node are split into 3 outbound order instances and 3 delivery order instances, corresponding to 3 different warehouses.

[0067] The process engine works further. When it reaches the next order-matching node, it determines the number of downstream documents corresponding to the previous unmatched order-splitting node. Figure 3For example, it is to determine whether the number of delivery orders received by the current order combining node has reached the number of downstream documents corresponding to the order splitting. Then, according to the number of downstream documents, the order combining activity is performed on the business instances entering the order combining node.

[0068] Furthermore, when performing the order consolidation activity, the current number of business instances currently entering the order consolidation node is determined. If the current number does not reach the number of downstream documents, it means that the business instances (in terms of Figure 3 For example, it refers to the three outbound order instances obtained after the upstream sales order node performs the order splitting activity) that have not yet fully entered the order combining node. At this time, the business corresponding to the upstream business node has not been fully processed, and the business instances that have entered the order combining node will be suspended until the number of business instances entering the order combining node reaches the number of downstream documents. It is considered that this batch of business instances has been processed, and the order combining activity is carried out.

[0069] In addition, even for the same current business, multiple batches of business may be executed. For example, in the same sales order, shipments need to be processed in batches. At this time, when the order consolidation activity is performed, the business instances entering the order consolidation node may reach the number of downstream documents. However, in fact, this is because the business instance of a branch has entered multiple times, while the business instance of another branch has not entered. At this time, if the order consolidation activity is performed, it may cause abnormal business processes.

[0070] Based on this, whenever a new business instance enters the order-joining node, the business instance is suspended. First, determine whether the total number of all suspended business instances reaches the number of downstream documents.

[0071] If it is not reached, it means that the current batch of the current business has not been completed, and it continues to wait for the new business instance entering the order-joining node.

[0072] If it has been reached, it means that the current batch of the current business may have been executed. At this time, the document device identifiers corresponding to all business instances are obtained, and it is determined whether the type quantity of the document device identifiers reaches the downstream document quantity. Among them, the document device identifier indicates which document device this business instance is generated by.

[0073] If not reached, it means that there are multiple business instances with the same document device identifier in the currently suspended business instances, that is, multiple business instances generated by the same document device are suspended, and continue to wait for the new business instance to enter the order-joining node.

[0074] If it has been reached, it means that each document device has a corresponding business instance in the currently suspended business instance. For each document device ID, select the earliest business instance that enters the order-closing node according to the timestamp, and perform the order-closing activity based on the business instances selected from all document device IDs.

[0075] Still taking the sales business as an example, assuming that the currently suspended business instances and their corresponding document equipment identifications are, in the order of time of entering the order-joining node, business instance 1 (document equipment identification 1), business instance 2 (document equipment identification 1), business instance 3 (document equipment identification 2), assuming that the number of downstream documents is 3, at this time, although the total number of business instances reaches the number of downstream documents, the types of document equipment identifications are only document equipment identification 1 and document equipment identification 2, which does not reach the number of downstream documents.

[0076] At this time, a new business instance 4 (document equipment identification 3) is entered. After judgment, it is considered that the number of types of document equipment identification has also reached the number of downstream documents 3, and the document merging activity is carried out. Since document equipment identification 1 corresponds to two business instances, business instance 1 with the earliest time sequence is selected. At this time, the business instances 1, 3 and 4 are finally selected for the document merging activity. Business instance 2 is still in a suspended waiting state.

[0077] Among them, when executing to the business instance, obtain the document equipment identification corresponding to the business instance. For example, when the business instance is an outbound order instance, when obtaining the corresponding outbound order instance through the corresponding outbound order equipment, the document equipment identification of the outbound order equipment can be transmitted together, or the warehouse identification of the warehouse where the outbound order equipment is located can be used as the document equipment identification, which can be set based on the actual situation to distinguish different business batches. Then the document equipment identification is transmitted to the next node in the process execution diagram.

[0078] If the next node is a closing node, the document device ID can be used to close the order. If the next node is still a business instance, the document device ID corresponding to the next node is used to replace the document device ID transmitted by the previous node. In the end, only the latest document device ID needs to be transmitted to the closing node.

[0079] like Figure 4 As shown, the embodiment of the present application also provides a device for implementing a document adjustment activity for a business process, including:

[0080] at least one processor; and,

[0081] a memory communicatively connected to the at least one processor; wherein,

[0082] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: implement the document adjustment activity for the business process described in any of the above embodiments.

[0083] An embodiment of the present application further provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to implement the document adjustment activity for the business process described in any of the above embodiments.

[0084] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0085] The devices and media provided in the embodiments of the present application correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

[0086] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0087] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0088] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0089] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0090] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0091] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0092] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0093] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0094] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for implementing document adjustment activities for a business process, characterized in that: include: Identify the designer that enables interaction with the user and the process engine that is used to execute the business process; Add a business process diagram corresponding to the current business in the designer; The business process diagram includes multiple business nodes; Based on the operation of the user in the designer, a corresponding document adjustment node is added to the business process diagram to form a process definition diagram corresponding to the current business; wherein the document adjustment node includes a split document node and a merge document node; Based on the process engine, according to the process definition diagram, the business process corresponding to the current business is executed.

2. The method according to claim 1, characterized in that According to the process execution diagram, executing the business process corresponding to the current business specifically includes: According to the process execution diagram, execute each node in sequence; When the order splitting node is executed, according to the number of downstream documents corresponding to an adjacent business node on the order splitting node, the business node after the order splitting node is split into multiple parallel business instances corresponding to the number of downstream documents until the next order combining node is executed.

3. The method according to claim 2, characterized in that According to the process execution diagram, executing the business process corresponding to the current business specifically includes: When executing to the next order combining node, determine the number of downstream documents corresponding to the previous unpaired order splitting node; According to the number of downstream documents, a document consolidation activity is performed on the business instance entering the document consolidation node.

4. The method according to claim 3, characterized in that According to the number of downstream documents, a document consolidation activity is performed on the business instance entering the document consolidation node, specifically including: Determine the current number of service instances currently entering the single-order node; If the current quantity does not reach the downstream document quantity, the business instance that has entered the order-combining node will be suspended until the business instance that has entered the order-combining node reaches the downstream document quantity.

5. The method according to claim 4, characterized in that Suspending the business instance that has entered the order-joining node until the business instance that has entered the order-joining node reaches the number of downstream documents, specifically including: Whenever a new service instance enters the combined node, the service instance is suspended; Determine whether the total quantity of all suspended business instances reaches the downstream document quantity; If not reached, continue to wait for a new service instance entering the combined node; If it has been reached, then the document device identifiers corresponding to all business instances are obtained, and it is determined whether the number of types of the document device identifiers reaches the number of downstream documents; If not reached, continue to wait for a new service instance entering the combined node; If it has been reached, for each document device identifier, select the earliest business instance that enters the order-joining node according to the timestamp; Carry out order consolidation activities based on the business instances selected according to the equipment identification of all documents.

6. The method according to claim 5, characterized in that According to the process execution diagram, each node is executed in sequence, specifically including: When the business instance is executed, the document device identifier corresponding to the business instance is obtained, and the document device identifier is transmitted to the next node in the process execution graph; If the next node is still a business instance, the document device ID corresponding to the next node is used to replace the document device ID transmitted by the previous node.

7. The method according to claim 1, characterized in that Based on the operation of the user in the designer, before adding a corresponding document adjustment node in the business process diagram, the method further includes: Acquire a plurality of business nodes included in the business process diagram; Performing big data analysis based on historical data to determine a number of business nodes with the highest probability of being adjacent to the document adjustment node among the multiple business nodes; Several service nodes with the highest probability are rendered and displayed.

8. The method according to claim 1, characterized in that The designer includes a front-end interactive interface, which includes at least: a display module and a configuration module; The display module is used to display the business process diagram and the process definition diagram; The configuration module includes multiple business nodes and the document adjustment node; wherein the multiple business nodes are classified and displayed by business field, and the multiple business nodes are added to the business process diagram and the process definition diagram based on the user's operation in the designer.

9. A device for implementing document adjustment activities for business processes, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: execute the document adjustment activity for the business process as described in any one of claims 1 to 8.

10. A non-volatile computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions are configured to: execute the document adjustment activity for the business process as described in any one of claims 1 to 8.