Business process chart generation method and device, storage medium and computer device

By parsing business flow data to generate rich business process diagrams, the problem of the single display format in existing technologies is solved, and the viewing efficiency of business personnel is improved.

CN116149655BActive Publication Date: 2026-02-03BEIJING WATERDROP TECH GRP CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310125019.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-06
Publication Date
2026-02-03
Estimated Expiration
2043-02-06

AI Technical Summary

Technical Problem

Existing technologies generate business process diagrams with a limited and disorganized display format, resulting in low efficiency for business personnel.

Method used

By calling the flowchart rendering component, process nodes, flow direction information, and display location information are parsed from business flow data to generate rich business process diagrams.

Benefits of technology

It improved the clarity of the business process diagram presentation and enhanced the work efficiency of business personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116149655B_ABST
    Figure CN116149655B_ABST
Patent Text Reader

Abstract

The application discloses a business process graph generation method and device, a storage medium and a computer device, and the method comprises the following steps: in response to a process graph viewing instruction of any business, acquiring a business identifier corresponding to the any business; calling a process graph rendering component, and acquiring business flow data corresponding to the any business from a target terminal based on the business identifier; analyzing the business flow data based on the process graph rendering component to obtain to-be-rendered information; and performing rendering processing on the to-be-rendered information to obtain a business process graph corresponding to the any business. The application can enrich the display form of the business process graph, and each process node in the display corresponds to a corresponding preset display node, the display content is clear, the business personnel can view conveniently, and the work efficiency of the business personnel is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a method and apparatus for generating business process diagrams, a storage medium, and a computer device. Background Technology

[0002] Currently, to clearly illustrate the processing flow of various business operations, business process diagrams are commonly used. Business personnel can determine the progress of a business operation based on each node in the business process diagram, thereby quickly understanding the entire business process.

[0003] In existing technologies, when generating business process diagrams, the front-end can directly render the diagram using a for loop after obtaining the case flow data from the server. However, the business process diagrams generated by this method are displayed sequentially from top to bottom, resulting in a monotonous display format, cluttered content, and difficulty for business personnel to view, thus reducing their work efficiency. Summary of the Invention

[0004] In view of this, this application provides a method, apparatus, storage medium, and computer device for generating business process diagrams. By calling a flowchart rendering component, multiple process nodes, flow direction information between every two adjacent process nodes, and display position information of each process node are parsed from business flow data. Then, a business process diagram is generated based on this information. This can enrich the display format of the business process diagram, and each displayed process node corresponds to a corresponding preset display node. The displayed content is clear, which is beneficial for business personnel to view and improves the work efficiency of business personnel.

[0005] According to one aspect of this application, a method for generating a business process diagram is provided, comprising:

[0006] In response to a command to view the flowchart of any service, obtain the service identifier corresponding to the service;

[0007] Invoke the flowchart rendering component and obtain the business flow data corresponding to any business from the target terminal based on the business identifier;

[0008] Based on the flowchart rendering component, the business flow data is parsed to obtain the information to be rendered. The information to be rendered includes multiple process nodes, flow direction information between every two adjacent process nodes, and display position information of each process node. The flow direction information includes forward flow information and reverse flow information. The display position information is determined based on the position information of the preset display node corresponding to each process node.

[0009] The information to be rendered is rendered to obtain the business process diagram corresponding to any one of the services.

[0010] According to another aspect of this application, a business process diagram generation apparatus is provided, comprising:

[0011] The service identifier acquisition module is used to acquire the service identifier corresponding to any service in response to a flowchart viewing instruction for any service.

[0012] The component invocation module is used to invoke the flowchart rendering component and obtain the business flow data corresponding to any business from the target terminal based on the business identifier;

[0013] The data parsing module is used to parse the business flow data based on the flowchart rendering component to obtain information to be rendered. The information to be rendered includes multiple process nodes, flow direction information between every two adjacent process nodes, and display position information of each process node. The flow direction information includes forward flow information and reverse flow information. The display position information is determined based on the position information of the preset display node corresponding to each process node.

[0014] The flowchart generation module is used to render the information to be rendered to obtain the business flowchart corresponding to any one of the business processes.

[0015] According to another aspect of this application, a storage medium is provided that stores a computer program thereon, which, when executed by a processor, implements the above-described method for generating a business process diagram.

[0016] According to another aspect of this application, a computer device is provided, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor executes the program to implement the above-described method for generating a business process diagram.

[0017] Using the above technical solution, this application provides a method, apparatus, storage medium, and computer device for generating business process diagrams. When a business user wants to view the business process diagram of a specific business of a customer, they can trigger a relevant icon for viewing the process diagram on the front-end page, thereby generating a process diagram viewing command. Then, in response to this command, the corresponding business identifier can be determined. After determining the business identifier, the corresponding business flow data can be obtained from the target terminal using this identifier. Furthermore, a process diagram rendering component can be invoked. When the front-end receives the business flow data, it can use the process diagram rendering component to parse the data and obtain the information to be rendered. This information can include process nodes, flow direction information between any two adjacent process nodes, and the display position information of each process node. The process nodes can ultimately be directly displayed in the business process diagram. The flow direction information indicates whether the flow between the previous and next process nodes is forward or reverse, and the display position information determines the specific location of the process node within the business process diagram. After obtaining the information to be rendered, the flowchart rendering component can be used to render the information, thereby obtaining the business process diagram corresponding to the business. This embodiment of the application calls the flowchart rendering component to parse multiple process nodes, the flow direction information between every two adjacent process nodes, and the display position information of each process node from the business flow data. Based on this information, a business process diagram is generated, which enriches the display format of the business process diagram. Furthermore, each displayed process node corresponds to a pre-set display node, resulting in clear display content that is beneficial for business personnel to view, thus improving their work efficiency.

[0018] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description

[0019] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0020] Figure 1 This document illustrates a flowchart of a method for generating a business process diagram according to an embodiment of this application.

[0021] Figure 2 This illustration shows a schematic diagram of a business process provided in an embodiment of this application;

[0022] Figure 3 This illustration shows a flowchart of another method for generating a business process diagram provided in an embodiment of this application;

[0023] Figure 4 This illustration shows another business process diagram provided in an embodiment of this application;

[0024] Figure 5 A schematic diagram of a business process diagram generation device provided in an embodiment of this application is shown. Detailed Implementation

[0025] The present application will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in the embodiments of the present application can be combined with each other.

[0026] This embodiment provides a method for generating a business process diagram, such as... Figure 1 As shown, the method includes:

[0027] Step 101: In response to the instruction to view the flowchart of any service, obtain the service identifier corresponding to the service.

[0028] The business process diagram generation method provided in this application embodiment can be applied to the process of generating flowcharts for any business, such as insurance claims and financial leasing applications. This method can be implemented via a front-end. When a business user wants to view the business process diagram of a specific customer's business, they can trigger the relevant flowchart viewing icon on the front-end page, thereby generating a flowchart viewing command. Then, in response to this command, the business identifier corresponding to that business can be determined. The business identifier can be a business order number, for example, in the case of insurance claims, the business identifier could be the claim order number.

[0029] Step 102: Invoke the flowchart rendering component and obtain the business flow data corresponding to any business from the target terminal based on the business identifier;

[0030] In this embodiment, after determining the service identifier, the corresponding service flow data can be obtained from the target terminal using the service identifier. Specifically, the target terminal can store service flow data corresponding to each service. When the target terminal receives the service identifier, it can query the service flow data corresponding to the service identifier and return it to the front end. In addition, the flowchart rendering component can also be invoked.

[0031] Step 103: Based on the flowchart rendering component, parse the business flow data to obtain the information to be rendered. The information to be rendered includes multiple process nodes, flow direction information between every two adjacent process nodes, and display position information of each process node. The flow direction information includes forward flow information and reverse flow information. The display position information is determined based on the position information of the preset display node corresponding to each process node.

[0032] In this embodiment, after the front end receives business flow data, it can use a flowchart rendering component to parse the data and obtain information to be rendered. This information can include process nodes, flow direction information between any two adjacent process nodes, and the display position information of each process node. The process nodes can ultimately be directly displayed in the business flow diagram, and the flow direction information indicates whether the flow between the preceding and following process nodes is forward or reverse. For example, from... Figure 2 As can be seen, the process nodes are sequentially: document submission, initial document review, and document return for supplementation. Therefore, the flow direction between the document submission and initial document review nodes can be forward, while the flow direction between the initial document review and document return for supplementation nodes can be reverse. The specific location of each process node in the business process diagram can be determined from its display position information. Here, to ensure the clarity of the business process diagram, the display position information of each process node is linked to the position information of its preset display node, making the process node and preset display node correspond. The preset display node can be a general step, specifically "reporting a case," "initial review," "calculation," "review," "claims settlement," etc., so that business personnel can directly determine which step the process node belongs to. For example, if the preset display node corresponding to the document submission process node is "reporting a case," then in the business process diagram, the document submission process node and the preset display node "reporting a case" can be placed in the same column, so that business personnel can clearly understand that document submission belongs to the "reporting a case" step.

[0033] Step 104: Render the information to be rendered to obtain the business process diagram corresponding to any one of the services.

[0034] In this embodiment, after obtaining the information to be rendered, the flowchart rendering component can be used to render the information to be rendered, thereby obtaining the business process diagram corresponding to the business, and the business process diagram can be displayed on the front end.

[0035] By applying the technical solution of this embodiment, when a business user wants to view the business process diagram of a specific business of a customer, they can trigger the relevant icon for viewing the flowchart on the front-end page, thereby generating a flowchart viewing command. Then, in response to this command, the business identifier corresponding to that business can be determined. After determining the business identifier, the corresponding business flow data can be obtained from the target terminal using this identifier. Furthermore, the flowchart rendering component can be invoked. When the front-end receives the business flow data, it can use the flowchart rendering component to parse the data and obtain the information to be rendered. Here, the information to be rendered can include process nodes, the flow direction information between every two adjacent process nodes, and the display position information of each process node. The process nodes can ultimately be directly displayed in the business process diagram. The flow direction information indicates whether the flow between the previous and next process nodes is forward or reverse, and the display position information determines the specific location of the process node in the business process diagram. After obtaining the information to be rendered, the flowchart rendering component can be used to render the information, thereby obtaining the business process diagram corresponding to that business. This application embodiment calls a flowchart rendering component to parse multiple process nodes, flow direction information between every two adjacent process nodes, and display position information of each process node from business flow data. Then, it generates a business process diagram based on this information, which can enrich the display format of the business process diagram. Moreover, each displayed process node corresponds to a corresponding preset display node, and the displayed content is clear, which is conducive to business personnel to view and improves the work efficiency of business personnel.

[0036] Furthermore, as a refinement and extension of the specific implementation of the above embodiments, and to fully illustrate the specific implementation process of this embodiment, another method for generating a business process diagram is provided, such as... Figure 3 As shown, the method includes:

[0037] Step 201: In response to the instruction to view the flowchart of any service, obtain the service identifier corresponding to the service;

[0038] Step 202: Invoke the flowchart rendering component and obtain the business flow data corresponding to any business from the target terminal based on the business identifier;

[0039] Step 203: Based on the flowchart rendering component, parse the business flow data to obtain the information to be rendered. The information to be rendered includes multiple process nodes, flow direction information between every two adjacent process nodes, and display position information of each process node. The flow direction information includes forward flow information and reverse flow information. The display position information is determined based on the position information of the preset display node corresponding to each process node.

[0040] Step 204: Render the information to be rendered to obtain the business process diagram corresponding to any one of the services;

[0041] In this embodiment, when a business user wants to view the business process diagram of a specific business for a particular customer, they can trigger a relevant flowchart viewing icon on the front-end page, thereby generating a flowchart viewing command. Then, in response to this command, the business identifier corresponding to that business can be determined. Once the business identifier is determined, the corresponding business flow data can be retrieved from the target terminal using this identifier. Furthermore, the flowchart rendering component can be invoked. After the front-end receives the business flow data, it can use the flowchart rendering component to parse the data and obtain the information to be rendered. Here, the information to be rendered can include process nodes, the flow direction information between every two adjacent process nodes, and the display position information of each process node. The process nodes can ultimately be directly displayed in the business process diagram. The flow direction information indicates whether the flow between the previous and next process nodes is forward or reverse, and the display position information determines the specific location of the process node within the business process diagram. After obtaining the information to be rendered, the flowchart rendering component can be used to render the information, thereby obtaining the business process diagram corresponding to that business.

[0042] Step 205: In response to a click instruction on any of the process nodes in the business process diagram, display the flow rotor data corresponding to any of the process nodes;

[0043] In this embodiment, after the business process diagram is generated, each process node in the diagram is clickable, allowing business personnel to obtain detailed information about that node. Specifically, after receiving a click instruction for any process node, the front end can display the corresponding flow data. Each process node corresponds to one flow data entry, which may include relevant information about the process node's handling, such as the name of the processed item, the time the item was received, the time the item was processed, the personnel handling the item, and the processing status. For insurance claims, the preset display node may include the "Preliminary Review" node. When a business personnel clicks the process node corresponding to the "Preliminary Review" node in the business process diagram, the displayed flow data may include: Case Entered Preliminary Review (Item Name), 2022-12-03 (Item Received Time), 2022-12-04 (Item Processing Time), Zhang San (Item Handler), Preliminary Review Completed (Item Processing Status), etc.

[0044] Step 206: Determine the preset display node corresponding to any of the process nodes, and obtain the preset processing period corresponding to the preset display node;

[0045] In this embodiment, the preset display node corresponding to the process node clicked by the business personnel can then be determined. For example, when the business personnel click on the process node corresponding to the "Preliminary Review" node in the business process diagram, then the preset display node is the "Preliminary Review" node. Next, the preset processing period corresponding to the preset display node can be determined. Here, the preset processing period is the completion processing period set in advance for each process node under the preset display node. For example, when the preset processing period is 3 days, then the time from receiving the processing item to the completion of the processing item is set to 3 days.

[0046] Step 207: Extract the task processing time and task reception time from the stream data, and determine whether the preset processing period is met based on the task processing time and the task reception time;

[0047] In this embodiment, each stream of data may include the task processing time and the task reception time. The task reception time indicates when the task was received, and the task processing time indicates when the task was completed. Based on the task processing time and the task reception time, the processing efficiency of the corresponding staff can be determined.

[0048] Step 208: If the result is not satisfactory, output a timeout reminder message.

[0049] In this embodiment, if the difference between the processing time and the receipt time of an item meets the preset processing deadline, it means that the corresponding staff member has not completed the item within the deadline. If the difference does not meet the preset processing deadline, it means that the corresponding staff member has not completed the item within the preset processing deadline. In this case, an overdue processing reminder message can be output to remind the business personnel that the item corresponding to this process node has been overdue. In this way, business personnel can easily and quickly check the processing time of the items corresponding to each process node.

[0050] Optionally, in this embodiment of the application, step 203, "parse the business flow data based on the flowchart rendering component to obtain multiple process nodes," includes: matching the business flow data with preset display nodes based on the flowchart rendering component to determine the preset display node corresponding to each flow rotor data, wherein the business flow data includes at least one flow rotor data; and processing each flow rotor data according to the display rules corresponding to the preset display node to obtain the process node corresponding to each flow rotor data.

[0051] In this embodiment, multiple preset display nodes can be pre-set, such as Figure 2 As shown in the diagram, "Report," "Preliminary Review," "Calculation," "Review," and "Claim Settlement" are the preset display nodes. These preset display nodes are fixed and correspond to the type of business. For example, when a business person wants to view the business process diagram for a customer's business A, the corresponding preset display node is determined accordingly—that is, the preset display node for business A. Business flow data can include one or more flow data items, each flow data item comprising a processing item. When the front end receives the business flow data, it can match each flow data item with the preset display nodes to determine the preset display node corresponding to each flow data item. Furthermore, the display rules for different preset display nodes may differ. For example, the display rule for preset display node a is "Processing Item Name + Processing Time + Processing Personnel"; the display rule for preset display node b is "Processing Item Name + Item Receipt Time + Processing Time," etc. Once the preset display node corresponding to each stream rotor data is determined, the display rules corresponding to the preset display node can be used to filter and screen the stream rotor data. After finding the target data required by the display rules, the target data can be used to form the process node corresponding to the stream rotor data. That is, the process node can include these target data.

[0052] Optionally, in this embodiment of the application, step 203, "analyzing the business flow data based on the flowchart rendering component to obtain the flow direction information between every two adjacent process nodes," includes: based on the flowchart rendering component, identifying preset display nodes corresponding to any two adjacent process nodes; if, among the two adjacent process nodes, the preset display node corresponding to the later process node is a subsequent node of the preset display node corresponding to the earlier process node, the flow direction information is determined to be forward flow information; otherwise, the flow direction information is determined to be reverse flow information.

[0053] In this embodiment, in addition to identifying each process node from the business flow data, the flow direction information between every two adjacent process nodes can also be determined. Specifically, the preset display node corresponding to each process node can be determined first. Then, the sequential relationship between the preset display nodes corresponding to two adjacent process nodes can be analyzed. The sequential relationship can be that preset display node 1 is after preset display node 2, that is, preset display node 1 is the subsequent node of preset display node 2; or preset display node 1 is before preset display node 2. For example, if the preset display nodes are in the following order: "reporting", "preliminary review", "settlement", "review", "claims", then the "settlement" node is the subsequent node of the "reporting" node and the "preliminary review" node. It should be noted that the preset display nodes corresponding to two adjacent process nodes are not necessarily adjacent. Two adjacent process nodes refer to adjacent process nodes arranged in chronological order in the entire business process. If, after analysis, it is found that in two adjacent process nodes, the preset display node corresponding to the later process node is the subsequent node of the preset display node corresponding to the earlier process node, then it indicates that the flow direction is forward, and the flow direction information can be determined to be forward; otherwise, it indicates that the flow direction is reverse, and the flow direction information can be determined to be reverse.

[0054] Optionally, in this embodiment, step 203, "analyzing the business flow data based on the flowchart rendering component to obtain the display position information of each process node," includes: determining the flow status information corresponding to any process node and the flow status information of the preceding process node of any process node based on the flowchart rendering component, wherein the flow status information includes forward state information and backward state information; when the two flow status information are the same, obtaining the first direction position information of the preceding process node of any process node, and obtaining the second direction position information of the preset display node corresponding to any process node, and using the first direction position information and the second direction position information as the display position information of any process node; when the two flow status information are opposite, obtaining the first direction position information of the preceding process node of any process node, updating the first direction position information according to a preset increment to obtain the updated first direction position information, and obtaining the second direction position information of the preset display node corresponding to any process node, and using the updated first direction position information and the second direction position information as the display position information of any process node.

[0055] In this embodiment, in order to generate a business process diagram, in addition to process nodes and flow direction information, the display position information of each process node is also required. Specifically, when determining the display position information of any process node, the flow diagram rendering component can be used to determine the flow status information corresponding to that process node, as well as the flow status information corresponding to the previous process node. Here, the flow status information can include forward status information and backward status information. For example, such as... Figure 4 As shown, the workflow status information corresponding to the fifth workflow node (i.e., the workflow node with the processing item name "Case Returned to Preliminary Review") is a regressed status information, while the workflow status information corresponding to the previous workflow node, i.e., the fourth workflow node (i.e., the workflow node with the processing item name "Case Entering Review"), is a forward status information. When determining the workflow status information for each workflow node, the preset display node corresponding to that workflow node and the preset display node corresponding to the previous workflow node can be determined, and the order of these two preset display nodes can be determined. If the preset display node of this workflow node is a subsequent node of the preset display node of the previous workflow node, then the workflow status information is a forward status information; otherwise, it is a regressed status information.

[0056] If, after analysis, it is found that both flow status information are either forward or backward, then the first-direction position information corresponding to the previous flow node can be obtained. Figure 4 In this diagram, assuming the vertical direction is the y-axis and the horizontal direction is the x-axis, the first direction can be the y-axis, and its position information can be y-axis position information. Furthermore, the second direction position information for the preset display node corresponding to this process node can also be determined; this second direction can be the x-axis, and its position information can be x-axis position information. Here, the positions of each preset display node in the business process diagram are fixed, meaning their x-axis and y-axis position information is fixed. Having determined the first and second direction position information, these can be used as the display position information for this process node.

[0057] If the analysis reveals two different flow statuses—one a forward state and the other a backward state—it indicates that the process node should wrap to a new line in the business process diagram. In this case, the first-direction position information corresponding to the preceding process node can be obtained. This first-direction position information can be the position information along the y-axis. After determining the first-direction position information, it can be updated using a preset increment to obtain the updated first-direction position information. The preset increment can be determined based on the line break height, i.e., the distance that needs to be changed along the y-axis when moving from one line to another. Furthermore, the second-direction position information of the preset display node corresponding to this process node can be determined. This second-direction position information can be the position information along the x-axis. After determining the second-direction position information and the updated first-direction position information, both can be used as the display position information for this process node.

[0058] Optionally, in this embodiment of the application, step 204 includes: rendering each of the plurality of process nodes at a display position based on the display position information of each process node, and rendering a flow direction icon between each pair of adjacent process nodes based on the flow direction information between each pair of adjacent process nodes, thereby obtaining a business process diagram corresponding to any business.

[0059] In this embodiment, after determining the display position information of the process nodes, their display positions within the business process diagram can be determined. Furthermore, the various process nodes can be connected to form a complete business process diagram. Specifically, the flow direction information between two adjacent process nodes can be analyzed using a flowchart rendering component. Based on this flow direction information, a flow direction icon can be rendered between the two adjacent process nodes. This flow direction icon can be an icon indicating the flow direction, such as an arrow. Figure 4 As shown, if the flow direction information is positive, the arrow direction can be from left to right; if the flow direction information is negative, the arrow direction can be from right to left.

[0060] Furthermore, as Figure 1 To specifically implement the method, this application provides a business process diagram generation apparatus, such as... Figure 5 As shown, the device includes:

[0061] The service identifier acquisition module is used to acquire the service identifier corresponding to any service in response to a flowchart viewing instruction for any service.

[0062] The component invocation module is used to invoke the flowchart rendering component and obtain the business flow data corresponding to any business from the target terminal based on the business identifier;

[0063] The data parsing module is used to parse the business flow data based on the flowchart rendering component to obtain information to be rendered. The information to be rendered includes multiple process nodes, flow direction information between every two adjacent process nodes, and display position information of each process node. The flow direction information includes forward flow information and reverse flow information. The display position information is determined based on the position information of the preset display node corresponding to each process node.

[0064] The flowchart generation module is used to render the information to be rendered to obtain the business flowchart corresponding to any one of the business processes.

[0065] Optionally, the data parsing module is further configured to:

[0066] Based on the flowchart rendering component, the business flow data is matched with preset display nodes to determine the preset display node corresponding to each flow data. The business flow data includes at least one flow data. According to the display rules corresponding to the preset display nodes, each flow data is processed to obtain the process node corresponding to each flow data.

[0067] Optionally, the data parsing module is further configured to:

[0068] Based on the flowchart rendering component, the preset display nodes corresponding to any two adjacent process nodes are identified; if the preset display node corresponding to the later process node is the subsequent node of the preset display node corresponding to the earlier process node, the flow direction information is determined to be forward flow information; otherwise, the flow direction information is determined to be reverse flow information.

[0069] Optionally, the data parsing module is further configured to:

[0070] Based on the flowchart rendering component, the flow state information corresponding to any one of the flow nodes and the flow state information of the preceding flow node of any one of the flow nodes are determined. The flow state information includes forward state information and backward state information. When the two flow state information are the same, the first direction position information of the preceding flow node of any one of the flow nodes is obtained, and the second direction position information of the preset display node corresponding to any one of the flow nodes is obtained. The first direction position information and the second direction position information are used as the display position information of any one of the flow nodes. When the two flow state information are opposite, the first direction position information of the preceding flow node of any one of the flow nodes is obtained, the first direction position information is updated according to a preset increment to obtain the updated first direction position information, and the second direction position information of the preset display node corresponding to any one of the flow nodes is obtained. The updated first direction position information and the second direction position information are used as the display position information of any one of the flow nodes.

[0071] Optionally, the flowchart generation module is further configured to:

[0072] Based on the display position information of each process node, each process node among the plurality of process nodes is rendered at the display position, and based on the flow direction information between each pair of adjacent process nodes, a flow direction icon between each pair of adjacent process nodes is rendered to obtain the business process diagram corresponding to any business.

[0073] Optionally, the device further includes:

[0074] The data display module is used to render the information to be rendered to obtain the business process diagram corresponding to any business, and then, in response to a click instruction on any process node in the business process diagram, display the flow data corresponding to any process node.

[0075] Optionally, the device further includes:

[0076] The processing period acquisition module is used to determine the preset display node corresponding to any of the process nodes after displaying the flow rotor data corresponding to any of the process nodes, and to acquire the preset processing period corresponding to the preset display node.

[0077] The judgment module is used to extract the task processing time and task reception time from the stream data, and determine whether the preset processing period is met based on the task processing time and the task reception time; when the result is not met, an overtime processing reminder message is output.

[0078] It should be noted that other corresponding descriptions of the functional units involved in the business process diagram generation apparatus provided in this application embodiment can be found by referring to... Figures 1 to 4 The corresponding descriptions in the method will not be repeated here.

[0079] Based on the above, Figures 1 to 4 Accordingly, this application also provides a storage medium storing a computer program, which, when executed by a processor, implements the above-described method. Figures 1 to 4 The method for generating the business process diagram shown.

[0080] Based on this understanding, the technical solution of this application can be embodied in the form of a software product. This software product can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, or portable hard drive), and includes several instructions to cause a computer device (such as a personal computer, server, or network device) to execute the methods described in the various implementation scenarios of this application.

[0081] Based on the above, Figures 1 to 4 The method shown, and Figure 5 To achieve the above objectives, the present application also provides a computer device, specifically a personal computer, server, network device, etc., as shown in the virtual device embodiment. This computer device includes a storage medium and a processor; the storage medium stores a computer program; the processor executes the computer program to achieve the above-described objectives. Figures 1 to 4 The method for generating the business process diagram shown.

[0082] Optionally, the computer device may also include a user interface, a network interface, a camera, radio frequency (RF) circuitry, sensors, audio circuitry, a Wi-Fi module, etc. The user interface may include a display screen, input units such as a keyboard, etc., and optional user interfaces may also include USB interfaces, card reader interfaces, etc. The network interface may optionally include standard wired interfaces, wireless interfaces (such as Bluetooth interfaces, Wi-Fi interfaces), etc.

[0083] Those skilled in the art will understand that the computer device structure provided in this embodiment does not constitute a limitation on the computer device, and may include more or fewer components, or combine certain components, or have different component arrangements.

[0084] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages and stores the hardware and software resources of a computer device, supporting the operation of information processing programs and other software and / or programs. The network communication module is used to enable communication between the various components within the storage medium, as well as communication with other hardware and software within the physical device.

[0085] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented using software plus necessary general-purpose hardware platforms, or it can be implemented using hardware. When a business user wants to view the business process diagram of a certain business of a certain customer, they can trigger the relevant icon for viewing the flowchart on the front-end page, thereby generating a flowchart viewing command. Then, in response to the flowchart viewing command, the business identifier corresponding to the business can be determined. After determining the business identifier, the corresponding business flow data can be obtained from the target terminal using the business identifier. In addition, the flowchart rendering component can also be called. After the front-end receives the business flow data, it can use the flowchart rendering component to parse the business flow data, thereby obtaining the information to be rendered. Here, the information to be rendered may include process nodes, the flow direction information between every two adjacent process nodes, and the display position information of each process node. Among them, the process nodes can ultimately be directly displayed in the business process diagram. From the flow direction information, it can be seen whether the flow between the previous process node and the next process node is forward or reverse. From the display position information of the process nodes, the specific position of the process node in the business process diagram can be determined. After obtaining the information to be rendered, the flowchart rendering component can be used to render the information, thereby obtaining the business process diagram corresponding to the business. This embodiment of the application calls the flowchart rendering component to parse multiple process nodes, the flow direction information between every two adjacent process nodes, and the display position information of each process node from the business flow data. Based on this information, a business process diagram is generated, which enriches the display format of the business process diagram. Furthermore, each displayed process node corresponds to a pre-set display node, resulting in clear display content that is beneficial for business personnel to view, thus improving their work efficiency.

[0086] Those skilled in the art will understand that the accompanying drawings are merely schematic diagrams of a preferred embodiment, and the modules or processes shown in the drawings are not necessarily essential for implementing this application. Those skilled in the art will understand that the modules in the apparatus of the embodiment can be distributed within the apparatus of the embodiment as described, or can be modified to be located in one or more apparatuses different from this embodiment. The modules of the above-described embodiment can be combined into one module, or further divided into multiple sub-modules.

[0087] The serial numbers in this application are for descriptive purposes only and do not represent the superiority or inferiority of any particular implementation scenario. The above disclosures are merely a few specific implementation scenarios of this application; however, this application is not limited thereto, and any variations conceived by those skilled in the art should fall within the protection scope of this application.

Claims

1. A method for generating a business process diagram, characterized in that, include: In response to a command to view the flowchart of any service, obtain the service identifier corresponding to the service; Invoke the flowchart rendering component and obtain the business flow data corresponding to any business from the target terminal based on the business identifier; Based on the flowchart rendering component, the business flow data is parsed to obtain the information to be rendered. The information to be rendered includes multiple process nodes, flow direction information between every two adjacent process nodes, and display position information of each process node. The flow direction information includes forward flow information and reverse flow information. The display position information is determined based on the position information of the preset display node corresponding to each process node. The information to be rendered is rendered to obtain the business process diagram corresponding to any one of the services. The display location information for each process node is determined based on the following method: Based on the flowchart rendering component, the flow status information corresponding to any one of the flow nodes and the flow status information of the preceding flow node of any one of the flow nodes are determined. The flow status information includes forward state information and backward state information. When the two flow status information are the same, the first direction position information of the preceding flow node of any one of the flow nodes is obtained, and the second direction position information of the preset display node corresponding to any one of the flow nodes is obtained. The first direction position information and the second direction position information are used as the display position information of any one of the flow nodes. When two flow status information are opposite, the first direction position information of the preceding flow node of any of the flow nodes is obtained, the first direction position information is updated according to a preset increment to obtain the updated first direction position information, and the second direction position information of the preset display node corresponding to any of the flow nodes is obtained. The updated first direction position information and the second direction position information are used as the display position information of any of the flow nodes.

2. The method according to claim 1, characterized in that, The process of parsing the business flow data based on the flowchart rendering component yields multiple process nodes, including: Based on the flowchart rendering component, the business flow data is matched with preset display nodes to determine the preset display node corresponding to each flow rotor data. The business flow data includes at least one flow rotor data. Based on the display rules corresponding to the preset display nodes, each stream rotor data is processed to obtain the process node corresponding to each stream rotor data.

3. The method according to claim 2, characterized in that, The process of parsing the business flow data based on the flowchart rendering component to obtain the flow direction information between every two adjacent process nodes includes: Based on the flowchart rendering component, identify the preset display nodes corresponding to any two adjacent process nodes; If, in two adjacent process nodes, the preset display node corresponding to the later process node is the subsequent node of the preset display node corresponding to the earlier process node, the flow direction information is determined to be forward flow information; otherwise, the flow direction information is determined to be reverse flow information.

4. The method according to claim 2 or 3, characterized in that, The rendering process of the information to be rendered to obtain the business process diagram corresponding to any one of the services includes: Based on the display position information of each process node, each process node among the plurality of process nodes is rendered at the display position, and based on the flow direction information between each pair of adjacent process nodes, a flow direction icon between each pair of adjacent process nodes is rendered to obtain the business process diagram corresponding to any business.

5. The method according to claim 2, characterized in that, After rendering the information to be rendered to obtain the business process diagram corresponding to any one of the services, the method further includes: In response to a click command on any of the process nodes in the business process diagram, the flow rotor data corresponding to any of the process nodes is displayed.

6. The method according to claim 5, characterized in that, After displaying the flow rotor data corresponding to any of the process nodes, the method further includes: Determine the preset display node corresponding to any of the process nodes, and obtain the preset processing period corresponding to the preset display node; Extract the task processing time and task reception time from the stream data, and determine whether the preset processing period is met based on the task processing time and the task reception time; If the result is not satisfactory, output a timeout reminder message.

7. A device for generating a business process diagram, characterized in that, include: The service identifier acquisition module is used to acquire the service identifier corresponding to any service in response to a flowchart viewing instruction for any service. The component invocation module is used to invoke the flowchart rendering component and obtain the business flow data corresponding to any business from the target terminal based on the business identifier; The data parsing module is used to parse the business flow data based on the flowchart rendering component to obtain information to be rendered. The information to be rendered includes multiple process nodes, flow direction information between every two adjacent process nodes, and display position information of each process node. The flow direction information includes forward flow information and reverse flow information. The display position information is determined based on the position information of the preset display node corresponding to each process node. The flowchart generation module is used to render the information to be rendered to obtain the business flowchart corresponding to any one of the business processes. The display location information for each process node is determined based on the following method: Based on the flowchart rendering component, the flow status information corresponding to any one of the flow nodes and the flow status information of the preceding flow node of any one of the flow nodes are determined. The flow status information includes forward state information and backward state information. When the two flow status information are the same, the first direction position information of the preceding flow node of any one of the flow nodes is obtained, and the second direction position information of the preset display node corresponding to any one of the flow nodes is obtained. The first direction position information and the second direction position information are used as the display position information of any one of the flow nodes. When two flow status information are opposite, the first direction position information of the preceding flow node of any of the flow nodes is obtained, the first direction position information is updated according to a preset increment to obtain the updated first direction position information, and the second direction position information of the preset display node corresponding to any of the flow nodes is obtained. The updated first direction position information and the second direction position information are used as the display position information of any of the flow nodes.

8. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 6.

9. A computer device, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1 to 6.

Citation Information

Patent Citations

  • Process monitoring method and apparatus

    CN106651301A

  • Form dynamic management method and system based on authority management

    CN110163577A

  • Business processing method and device, storage medium and electronic equipment

    CN118586662A