CN112181397B - Flow visual monitoring method, device, computer equipment and storage medium - Google Patents

Flow visual monitoring method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN112181397B
CN112181397B CN202011063771.7A CN202011063771A CN112181397B CN 112181397 B CN112181397 B CN 112181397B CN 202011063771 A CN202011063771 A CN 202011063771A CN 112181397 B CN112181397 B CN 112181397B
Authority
CN
China
Prior art keywords
node
flow
flow chart
nodes
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011063771.7A
Other languages
Chinese (zh)
Other versions
CN112181397A (en
Inventor
王振兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202011063771.7A priority Critical patent/CN112181397B/en
Publication of CN112181397A publication Critical patent/CN112181397A/en
Priority to PCT/CN2021/090307 priority patent/WO2022068189A1/en
Application granted granted Critical
Publication of CN112181397B publication Critical patent/CN112181397B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a flow visual monitoring method, a device, computer equipment and a storage medium. The method comprises the following steps: the method comprises the steps that visual monitoring tasks are obtained, wherein the visual monitoring tasks comprise service identifiers and a flow relation mapping table, and the flow relation mapping table comprises N flow nodes, dependency relations among the nodes and node attribute information; invoking a standard flow service interface, and processing N flow nodes and the dependency relationship among the nodes to obtain an initial visual flow chart; forming a node event monitor based on the node attribute information and embedding the node event monitor into a flow node in the initial visualization flow chart to acquire a target visualization flow chart; and obtaining background data corresponding to the service identifier, processing the background data by adopting a node event monitor, and updating the node state of the flow node in the target visualization flow chart in real time based on the processing result. The method can realize comprehensive and efficient monitoring of business processes developed by enterprise development and application systems or medical platforms, and dynamically and intuitively monitor the progress and abnormal conditions of each process node in the business processes.

Description

Flow visual monitoring method, device, computer equipment and storage medium
Technical Field
The present invention relates to the field of process node monitoring technologies, and in particular, to a process visualization monitoring method, a device, a computer device, and a storage medium.
Background
The current enterprise development and application system comprises a plurality of flow nodes, wherein each flow node corresponds to different processing personnel and processing time limit, but the current application system lacks a comprehensive and efficient monitoring mode, and cannot dynamically and intuitively monitor the progress and abnormal conditions of the flow nodes. For example, the application system may be a project development system, and the corresponding business process includes process nodes such as early-stage stand, project development, and post-inspection and acceptance, and if the comprehensive and efficient monitoring is lacking, the progress of the project development is seriously affected. For another example, the application system may be a financial system, and the financial calculation process includes accounting, distribution, acquisition, accounting, and certification process nodes, if there is no comprehensive and efficient monitoring, the smooth performance of the financial calculation process cannot be guaranteed. For another example, the application system may be a medical platform service system, and the corresponding business processes include registration, triage, inquiry, medical report, medicine taking, rehabilitation guidance and other process nodes, if there is no comprehensive and efficient monitoring, the development progress of the platform cannot be guaranteed.
Disclosure of Invention
The embodiment of the invention provides a flow visual monitoring method, a device, computer equipment and a storage medium, which are used for solving the problems that the current application system lacks a comprehensive and efficient monitoring mode and cannot dynamically and intuitively monitor the progress and abnormality of a flow node.
A process visualization monitoring method, comprising:
the method comprises the steps of obtaining a visual monitoring task, wherein the visual monitoring task comprises a service identifier and a flow relation mapping table, and the flow relation mapping table comprises N flow nodes, dependency relations among the nodes and node attribute information;
invoking a standard flow service interface, and processing N flow nodes and the dependency relationship among the nodes to obtain an initial visual flow chart;
forming a node event monitor based on node attribute information corresponding to the flow node, embedding the node event monitor on the flow node in the initial visualization flow chart, and acquiring a target visualization flow chart;
and acquiring background data corresponding to the service identifier, processing the background data by adopting the node event monitor, and updating the node state of the flow node in the target visualization flow chart in real time based on a processing result.
A process visualization monitoring device, comprising:
the system comprises a monitoring task acquisition module, a processing module and a processing module, wherein the monitoring task acquisition module is used for acquiring a visual monitoring task, the visual monitoring task comprises a service identifier and a flow relation mapping table, and the flow relation mapping table comprises N flow nodes, dependency relations among the nodes and node attribute information;
the initial diagram acquisition module is used for calling a standard flow service interface, processing N flow nodes and the dependency relationship among the nodes and acquiring an initial visualization flow diagram;
the target graph acquisition module is used for forming a node event monitor based on the node attribute information corresponding to the flow node, embedding the node event monitor into the flow node in the initial visualization flow chart, and acquiring a target visualization flow chart;
and the real-time monitoring module is used for acquiring background data corresponding to the service identifier, adopting the node event monitor to process the background data, and updating the node state of the flow node in the target visualization flow chart in real time based on a processing result.
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the above-described flow visualization monitoring method when executing the computer program.
A computer readable storage medium storing a computer program which when executed by a processor implements the above-described flow visualization monitoring method.
According to the flow visual monitoring method, the device, the computer equipment and the storage medium, after the visual monitoring task is acquired, the standard flow service interface is called to process all flow nodes and the dependency relationship among the nodes so as to acquire an initial visual flow chart, the standard flow service interface is utilized to realize light access, and the initial visual flow chart is utilized to provide a visual basis for flow visual monitoring; forming a node event monitor based on node attribute information corresponding to each process node, and embedding the node event monitor into the process node of the initial visual flow chart to form a target visual flow chart, thereby providing a basis for realizing dynamic visual monitoring of business processes developed by an enterprise development and application system or a medical platform; and processing background data corresponding to the service identifier by adopting a node event monitor, and updating the node state corresponding to the corresponding flow node in the target visual flow chart in real time based on the processing result, so that the service flow is comprehensively and efficiently monitored, the progress and abnormal condition of each flow node in the service flow are dynamically and intuitively monitored, and the processing of the service flow is updated in time.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments of the present invention will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic view of an application environment of a process visualization monitoring method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for visual monitoring of a process according to an embodiment of the present invention;
FIG. 3 is another flow chart of a method for flow visualization monitoring in accordance with an embodiment of the present invention;
FIG. 4 is another flow chart of a method for flow visualization monitoring in accordance with an embodiment of the present invention;
FIG. 5 is another flow chart of a method for flow visualization monitoring in accordance with an embodiment of the present invention;
FIG. 6 is another flow chart of a method for flow visualization monitoring in accordance with an embodiment of the present invention;
FIG. 7 is another flow chart of a method for flow visualization monitoring in accordance with an embodiment of the present invention;
FIG. 8 is a schematic diagram of a flow chart of a visual monitoring apparatus according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of a computer device in accordance with an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The flow visual monitoring method provided by the embodiment of the invention can be applied to an application environment shown in figure 1. The flow visual monitoring method is applied to an application system, particularly to a business flow comprising a plurality of flow nodes, wherein the application system comprises a client and a server as shown in fig. 1, and the client and the server are communicated through a network and are used for realizing the flow visual monitoring of the application system, so that a user can dynamically and intuitively monitor the progress and abnormality of the flow nodes in the business flow, and the smooth proceeding of the business flow is guaranteed. The client is also called a client, and refers to a program corresponding to the server for providing local service for the client. The client may be installed on, but is not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices. The server may be implemented as a stand-alone server or as a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, a flow visual monitoring method is provided, and the method is applied to the server in fig. 1 for illustration, and includes the following steps:
s201: the method comprises the steps of obtaining a visual monitoring task, wherein the visual monitoring task comprises a service identifier and a flow relation mapping table, and the flow relation mapping table comprises N flow nodes, dependency relations among the nodes and node attribute information.
The visual monitoring task is a task for triggering the visual monitoring of the flow of the specific business flow, namely, the task for triggering the real-time visual monitoring of the progress and the abnormality of each flow node of the specific business flow, so that a user can know the node state of each flow node in real time and execute subsequent operations according to the node state. The service identifier is an identifier for uniquely identifying a service flow for which visual monitoring of the flow is required.
The flow relation mapping table is a data table for reflecting node attribute information of each flow node in a specific business flow and node dependency relations among a plurality of flow nodes. In this example, the flow relation mapping table not only records the number of flow nodes included in the service flows, and each service flow includes N flow nodes, where n+.2. The flow relation mapping table also records node attribute information corresponding to each flow node, wherein the node attribute information is information which corresponds to each flow node and is used for reflecting progress and abnormal conditions, and the information comprises, but is not limited to, trigger conditions, processing deadlines, progress identifiers and the like and is related to the progress and abnormal conditions of the flow node. And the flow relation mapping table also records the inter-node dependency relation between two adjacent flow nodes. For example, in the financial fine calculation business process, five process nodes of accounting, distributing, obtaining, accounting and making evidence have a dependency relationship, that is, the distributing process node depends on the accounting process node, and the obtaining process node depends on the accounting process node.
As an example, the server obtains a visual monitoring task triggered by the user through the client, so as to perform flow visual monitoring on the service flow corresponding to the service identifier according to the service identifier and the flow relation mapping table in the visual monitoring task.
S202: and calling a standard flow service interface, and processing N flow nodes and the dependency relationship among the nodes to obtain an initial visual flow chart.
The standard flow service interface is an interface which is packaged in advance and can realize visual flow monitoring. As an example, the canvas drawing board technology of javascript can be adopted to realize the functions of on-line editing and defining the flow chart, and the functions are externally packaged to be standard flow service interfaces so that the application system can be in butt joint and access to the corresponding functions. The application system encapsulates the functions of realizing online editing and defining the flow chart in the canvas drawing board technology into an API interface, so that the functions of using the API interface are accessed in the modes of http request or https request and the like, and light access is realized.
The initial visualization flow chart is a visualization flow chart which adopts a standard flow service interface to process N flow nodes and the dependency relationship among the nodes, and the obtained visualization flow chart does not contain node attribute information. In general, the initial visualization flow chart can intuitively reflect the number of flow nodes in the business flow and the dependency relationship between the flow nodes.
As an example, after receiving the visual monitoring task, the server invokes the pre-packaged standard flow service interface, processes the N flow nodes and the dependency relationships between the nodes in the flow relationship mapping table, and forms an initial visual flow chart including all the flow nodes in the service flow and the dependency relationships between the nodes, i.e. the initial visual flow chart can connect all the flow nodes according to the dependency relationships between the nodes, so as to provide a basis for implementing visual monitoring on each flow node in the service flow.
S203: and forming a node event monitor based on the node attribute information corresponding to the flow node, embedding the node event monitor into the flow node in the initial visualization flow chart, and acquiring the target visualization flow chart.
As an example, the server invokes a preconfigured event monitor function to process node attribute information corresponding to each flow node, and generates a node event monitor corresponding to the flow node. The event listening function is a preconfigured function for generating a node event listener. The node event listener is an event listener corresponding to the flow node for listening for a change in the state of the node. In this example, the node attribute information corresponding to each flow node includes, but is not limited to, information related to the node state of the flow node, such as a trigger condition, a processing deadline, and a progress identifier; the event monitoring function can take node attribute information corresponding to any flow node as an actual parameter to be transmitted into the event monitoring function, replace the form parameter with the actual parameter, and generate a node event monitor corresponding to the flow node so as to realize dynamic visual monitoring on the business flow by using the node event monitor.
As an example, after generating the node event monitor corresponding to each flow node, the server embeds the node event monitor on the corresponding flow node in the initial visualization flow chart, so that each flow node in the initial visualization flow chart includes the node event monitor corresponding to the node event monitor, thereby obtaining the target visualization flow chart, and providing a basis for implementing dynamic monitoring on each flow node of the business flow.
S204: and obtaining background data corresponding to the service identifier, processing the background data by adopting a node event monitor, and updating the node state of the flow node in the target visualization flow chart in real time based on the processing result.
As an example, the server obtains background data corresponding to the service identifier, where the background data may be background data formed by the application system in the process of executing the service flow, or may be background data formed by an association system related to the application system in the process of executing the service flow. In this example, the background data may be embodied as data reflecting business process processing progress, including, but not limited to, system log and process progress data. In this example, the server may acquire background data corresponding to the service identifier in a preset acquisition period before the current time of the system, so as to process incremental background data in the preset acquisition period before the current time of the system, which is conducive to reducing data processing amount and improving data processing efficiency.
As an example, after obtaining the background data corresponding to the service identifier, the server needs to process the background data by adopting the node event monitor corresponding to each flow node, that is, the background data and the trigger condition, the processing period and the progress identifier in the node event monitor corresponding to each flow node are compared and analyzed to obtain a processing result, and the processing result can effectively reflect whether the node state of the corresponding flow node changes; therefore, the node state of the flow node in the target visualization flow chart can be updated in real time according to the processing result of the node event monitor on the background data.
As an example, the server updates the node status of the flow node in the target visualization flow chart in real time based on the processing result, and specifically includes: updating the node color corresponding to each flow node in the target visualization flow chart to the node color corresponding to the node state, so that the node state of the flow node can be dynamically and intuitively displayed in the target visualization flow chart.
For example, if a business process includes several process nodes P1, P2, P3 and P4, each process node has a processing deadline of T1, T2, T3 and T4; the node state corresponding to each flow node comprises node progress such as executing, executing success, executing failure, executing overtime, executing abnormality and the like, and the corresponding progress identifiers are S1, S2, S3, S4 and S5 respectively. In this example, the server may process the background data corresponding to the service identifier by using a node event monitor to determine a node state corresponding to each flow node, for example, if the node event monitor monitors that the background data includes the progress identifier S3 corresponding to the flow node P2, then the node state of the flow node P2 in the target visualization flow chart is updated in real time to be the execution success state, for example, the node color of the node is updated to be the node color corresponding to the execution success state, such as green or other preconfigured colors.
In the process visualization monitoring method provided by the embodiment, after the visualization monitoring task is acquired, the standard process service interface is called to process all process nodes and the dependency relationship among the nodes so as to acquire an initial visualization flow chart, the standard process service interface is utilized to realize light access, and the initial visualization flow chart is utilized to provide a visualization basis for process visualization monitoring; forming a node event monitor based on node attribute information corresponding to each process node, and embedding the node event monitor into the process node of the initial visual flow chart to form a target visual flow chart, thereby providing a basis for realizing dynamic visual monitoring of the business process; and processing background data corresponding to the service identifier by adopting a node event monitor, and updating the node state corresponding to the corresponding flow node in the target visual flow chart in real time based on the processing result, so that the service flow is comprehensively and efficiently monitored, the progress and abnormal condition of each flow node in the service flow are dynamically and intuitively monitored, and the processing of the service flow is updated in time.
In one embodiment, as shown in fig. 3, step S202, namely, invoking a standard flow service interface, processes the N flow nodes and the dependency relationship between the nodes to obtain an initial visualized flow chart, includes the following steps:
S301: an interface call request is obtained, the interface call request including a flow diagram generation mode.
The interface call request is a request for triggering and calling standard flow service interfaces corresponding to different flow chart generation modes to generate the flow charts, namely, the request for triggering and calling the standard flow service interfaces corresponding to the different flow chart generation modes to process the dependency relationships among N flow nodes and obtain an initial visualized flow chart. The flow chart generation mode is a mode for generating an initial visualization flow chart, and specifically comprises a template mode and a dynamic mode. The template mode is applied to the condition that the business process is complex and the process nodes are not changed frequently, and the process nodes and the dependency relations among the nodes in the process relation mapping table can be filled with a pre-configured configuration visualization template to generate a flow chart generation mode of an initial visualization flow chart. The dynamic mode is applied to the condition that the business process is simpler or the process nodes are changed frequently, and the flow chart generation mode of the initial visual flow chart is dynamically generated according to the process nodes and the dependency relations among the nodes in the flow chart.
As an example, in the process of calling the standard flow service interface, a user can autonomously select and determine a flow chart generation mode and trigger an interface call request according to different actual application scenes, so that the standard flow service interface corresponding to the flow chart generation mode is subsequently called for processing, and an initial visual flow chart is generated.
S302: and if the flow chart generation mode is a template mode, calling a configuration visualization template in the fixed flow service interface, and processing N flow nodes and the dependency relationship among the nodes to obtain an initial visualization flow chart.
The standard flow service interface corresponding to the template mode is a fixed flow service interface, and the fixed flow service interface is an interface for generating a visual flow chart with fixed flow node size and a connecting mode, and is mainly applied to a scene that the business flow is complex and the flow nodes are not changed frequently. The configuration visualization template is a template with the pre-configured flow node size and the connection mode.
As an example, when the flow chart generation mode is the template mode, a configuration visualization template in a fixed flow service interface (i.e. a standard flow service interface corresponding to the template mode) is called, and N flow nodes and inter-node dependencies in the flow relation mapping table are processed, specifically, the N flow nodes and inter-node dependencies are filled in the configuration visualization template, so that an initial visualization flow chart can be quickly generated, and the generation efficiency of the initial visualization flow chart is ensured.
S303: and if the flow chart generation mode is a dynamic mode, invoking a flow chart generation algorithm in a dynamic flow chart service interface, and processing the N flow chart nodes and the dependency relations among the nodes to acquire an initial visualized flow chart.
Correspondingly, the standard flow service interface corresponding to the dynamic mode is a dynamic flow service interface, and the dynamic flow service interface is an interface for generating a visual flow chart with the flow node size and the connection mode dynamically changed, and is mainly applied to a scene with simpler business flow or frequent change of the flow node. The flow chart generation algorithm is a processing algorithm for dynamically generating a flow chart, including but not limited to a stippling algorithm.
As an example, when the flow chart generation mode is a dynamic mode, a flow chart generation algorithm pre-configured in a dynamic flow chart service interface (i.e. a standard flow chart service interface corresponding to the dynamic mode) is called, and the N flow chart nodes and the dependency relationships among the nodes in the flow chart are processed to generate an initial visualized flow chart, so that the diversity of the initial visualized flow chart is ensured, the personalized design requirement of a user is met, and the user experience is improved.
In the flow visualization monitoring method provided by the embodiment, when the flow chart generation mode in the interface call request is the template mode, a configuration visualization template in the fixed flow service interface can be called to process the dependency relationship between N flow nodes, obtain an initial visualization flow chart, and ensure the generation efficiency of the initial visualization flow chart; when the flow chart generation mode in the interface call request is a dynamic mode, a flow chart generation algorithm in the dynamic flow chart service interface can be called, the dependency relationship between N flow chart nodes is processed, an initial visual flow chart is obtained, the diversity of the initial visual flow chart is ensured, the personalized design requirement of a user is met, and the user experience is improved.
In one embodiment, as shown in fig. 4, step S303, namely, invoking a flow chart generation algorithm in a dynamic flow service interface, and processing the N flow nodes and the dependency relationships between the nodes to obtain an initial visualized flow chart, includes the following steps:
s401: and calling node positioning logic corresponding to a flow chart generation algorithm in the dynamic flow chart service interface, processing the N flow chart nodes and the dependency relationship among the nodes, and determining the node positions of the N flow chart nodes on the dynamic drawing board.
Wherein the flow chart generation algorithm is a processing algorithm for dynamically generating a flow chart, including but not limited to a stippling algorithm. The point distribution algorithm is an algorithm for drawing a network topological graph in the data visualization process so as to realize automatic layout of the network topological graph. The dotting algorithm can be a Force-directed mapping (Force-directed graph drawing) algorithm, and the Force-directed layout algorithm can be utilized to generate quite graceful network layout and fully display the overall structure and self-isomorphic characteristics of the network.
The node positioning logic corresponding to the flow chart generation algorithm is a processing logic which is preconfigured in the flow chart generation algorithm and is used for realizing automatic layout of the node positions of all flow nodes in the visual flow chart drawing process. In general, the node location logic refers to processing logic generated based on specific node location principles including, but not limited to, symmetry principles, orthogonality principles, connection angle maximization principles, edge intersection number minimization principles, and straight edge principles. The symmetry principle refers to a principle that in the process of drawing a visual flow chart, flow nodes with the same structure are balanced and distributed around a drawing center. The orthogonality principle is a principle that in the process of drawing a visual flow chart, a grid is used as a background, and flow nodes are laid out at grid intersections as much as possible, so that edges can be drawn along grid lines. The connection angle maximization principle refers to a principle that the angle formed by any two edges of the same flow node is as large as possible. The principle of minimum number of edge intersections refers to the principle that the number of the mutually intersected edges should be reduced as much as possible in the process of drawing a visual flow chart. The straight line edge principle refers to a principle that edges between two flow nodes can be ensured to be straight line as much as possible in the process of drawing a visual flow chart.
As an example, the server invokes node positioning logic corresponding to the flow chart generation algorithm in the dynamic flow chart service interface, processes the dependency relationship between the N flow chart nodes and the nodes, and determines the node positions of the N flow chart nodes on the dynamic drawing board, so as to realize automatic positioning of all flow chart nodes, ensure that the positioning of all flow chart nodes on the dynamic drawing board accords with a specific node positioning principle, and enable the initial visual flow chart generated subsequently to have more beautiful appearance.
S402: and calling node drawing logic corresponding to a flow chart generating algorithm in the dynamic flow chart service interface, drawing flow icons and flow connecting lines corresponding to N flow nodes on the dynamic drawing board according to the dependency relationship among the nodes and the node positions of the N flow nodes on the dynamic drawing board, and obtaining an initial visual flow chart.
The node drawing logic corresponding to the flow chart generation algorithm is processing logic used for drawing flow icons and flow connecting lines on the determined node positions of the dynamic drawing board according to the dependency relationship between N flow nodes and nodes. In general, in the configuration process, the node drawing logic corresponding to the flow chart generation algorithm needs to consider certain aesthetic standards to ensure the aesthetic property of the drawn initialization flow chart. For example, when the flow generating algorithm is a Force-directed drawing (Force-directed graph drawing) algorithm, the node drawing logic needs to consider the following formulas, and in the process of implementing automatic drawing of the initial visual flow chart, the drawing area of the flow icon of each flow node, the length of the flow connection line and the like are determined, so that the aesthetic property of the drawn initial visual flow chart is ensured: (1) Side length deviation = maximum side length-minimum side length/(average side length number of the graph); (2) Node distribution deviation= |optimal distribution distance-minimum node distance|/graph area, wherein: best distribution distance = graph area/graph node number.
As an example, the server invokes node drawing logic corresponding to the flow chart generating algorithm, draws flow icons and flow connecting lines corresponding to the N flow nodes on the dynamic drawing board according to the dependency relationship among the nodes and the node positions of the N flow nodes on the dynamic drawing board, acquires an initial visual flow chart, completes automatic drawing of the flow icons and the flow connecting lines of all the flow nodes, and ensures that the initial visual flow chart can intuitively reflect the node relationship among all the flow nodes.
In the flow visualization monitoring method provided by the embodiment, node positioning logic corresponding to a flow chart generation algorithm is firstly called to process N flow nodes and the dependency relationship among the nodes, and the node position of each flow node on a dynamic drawing board is determined, so that the automatic positioning of the node position is realized; and then, the node drawing logic corresponding to the flow chart generation algorithm is called, corresponding flow icons are drawn on the corresponding node positions of the dynamic drawing board, and the drawing of all flow connecting lines is completed according to the dependency relationship among the nodes, so that the aim of automatically generating the initial visual flow chart is fulfilled.
In one embodiment, as shown in fig. 5, the step S204 of acquiring background data corresponding to a service identifier includes:
S501: and determining a data source corresponding to the data calling interface based on the data calling interface corresponding to the service identifier.
The data calling interface corresponding to the service identifier is an interface for calling data related to the service flow corresponding to the service identifier. The data source corresponding to the data calling interface is a system for calling the data related to the business process corresponding to the business identifier. Generally, a data source corresponding to a data call interface includes a local system and an associated system, where the local system refers to an application system for executing the flow visualization monitoring method. An associated system is a system that communicates with a local system to effect data interactions.
As an example, the server reads the data sources in the data call interface according to the pre-configured data call interface corresponding to the service identifier, so as to execute different processing steps according to the different data sources.
S502: if the data source corresponding to the data calling interface is a local system, acquiring a system log corresponding to the service identifier based on the data calling interface, and determining the system log as background data corresponding to the service identifier.
The system log refers to a log formed in the execution process of the business process corresponding to the business identifier. As an example, the system log may be an incremental log, i.e. a log collected during a preset period before the current time of the system,
As an example, if the data source corresponding to the data calling interface is a local system, it is explained that the business process is executed on the local system, and the corresponding system log is formed in the business process execution process, so that the system log corresponding to the business identifier can be called in real time through the data calling interface, and the system log is determined to be the background data corresponding to the business identifier, so that the node state of the flow node in the target visualization flow chart is updated based on the background data, and the conditions of progress, abnormality and the like of the dynamic visualization monitoring flow node are achieved.
S503: if the data source corresponding to the data calling interface is the associated system, acquiring flow progress data corresponding to the service identifier and fed back by the associated system based on the data calling interface, and determining the flow progress data as background data corresponding to the service identifier.
The process progress data is data for reflecting the execution progress of the business process corresponding to the business identifier, and can be understood as data reflecting the processing progress, abnormality and other conditions formed after the associated system analyzes and processes the system log formed in the execution process of the business process.
As an example, if the data source corresponding to the data calling interface is the associated system, it is indicated that the service flow is not executed on the local system, but the local system is used to dynamically and visually monitor the progress and the abnormality corresponding to the service flow, at this time, the flow progress data corresponding to the service identifier fed back by the associated system can be obtained through the data calling interface, and the flow progress data is determined as the background data corresponding to the service identifier, so that the local system has the advantages of light data and good coupling performance.
In the flow visual monitoring method provided by the embodiment, the data sources corresponding to the data calling interface comprise a local system and an associated system, so that the diversity of the data sources is realized, and the applicability of flow visual monitoring is improved; when the data source is a local system, determining a system log as background data; when the data source is an associated system, the flow progress data is determined to be background data, so that the local system has the advantages of light data and good coupling performance.
In one embodiment, as shown in fig. 5, the processing of the background data by the node event listener in step S204, and updating the node status of the flow node in the target visualization flow chart in real time based on the processing result includes:
s504: if the background data is the system log, a node event monitor corresponding to the current flow node is adopted to process the system log, the current node progress corresponding to the current flow node is obtained, and the node state of the flow node in the target visualization flow chart is updated in real time based on the current node progress corresponding to the current flow node.
As an example, when the background data acquired by the data calling interface is a system log, the execution of the service flow and the visual monitoring of the flow are both executed on the local system, so that the server can quickly determine the current flow node according to the target visual flow chart corresponding to the current time of the system, and the current flow node is the flow node currently executed by the service flow. Then, the server may call a node event monitor corresponding to the current flow node to process the system log to determine a current node progress corresponding to the current flow node, where the current node progress is used to reflect the processing progress corresponding to the current flow node. Finally, the server can update the node state of the flow node in the target visual flow chart in real time according to the current node progress corresponding to the current flow node, specifically, determine the node state corresponding to the current flow node according to the current node progress corresponding to the current flow node, update the node color corresponding to the current flow node of the target visual flow chart to the node color corresponding to the node state, so that the node state of the flow node can be dynamically and intuitively displayed in the target visual flow chart, and the dynamic visual monitoring of the business flow executed by the local system is realized.
S505: if the background data is the flow progress data, determining a current flow node and a current node progress corresponding to the current flow node according to the flow progress data, and updating the node state of the flow node in the target visual flow chart in real time based on the current node progress corresponding to the current flow node.
As an example, when the background data acquired by the data calling interface is the process progress data fed back by the association system, the business process is illustrated to be executed on the association system, and the process visual monitoring is executed on the application system, where the process progress data is data reflecting the processing progress, the abnormality and the like formed after the association system analyzes and processes the system log formed in the process of executing the business process. Therefore, when the server monitors the flow in a visual way, the acquired flow progress data fed back by the associated system comprises the current flow node (i.e. the flow node currently executed by the business flow) and the corresponding current node progress thereof. Then, the server can update the node state of the flow node in the target visual flow chart in real time according to the current node progress corresponding to the current flow node, specifically, determine the node state corresponding to the current flow node according to the current node progress corresponding to the current flow node, update the node color corresponding to the current flow node in the target visual flow chart to the node color corresponding to the node state, so that the node state of the flow node can be dynamically and intuitively displayed in the target visual flow chart, and the dynamic visual monitoring of the business flow executed by the associated system is realized.
In the flow visualization monitoring method provided by the embodiment, when the background data is the system log and the flow progress data, different processing logics are adopted to process the system log and the flow progress data respectively so as to determine the current node progress corresponding to the current flow node, so that the node state of the flow node in the target visualization flow chart is updated in real time according to the current node progress, the dynamic visualization monitoring of the current flow node of the business flow is realized, and the comprehensiveness of the monitoring is ensured.
In an embodiment, as shown in fig. 6, in step S504 and step S505, updating the node status of the flow node in the target visualization flow chart in real time based on the current node progress corresponding to the current flow node includes:
s601: if the current node progress corresponding to the current flow node is successful in execution, updating the node state of the current flow node in the target visual flow chart based on the current node progress, and updating the node state of the follow-up flow node depending on the current flow node.
The subsequent flow nodes refer to flow nodes depending on the current flow node, i.e. one or more flow nodes which need to be executed after the current flow node and are executed in parallel.
As an example, if the current node progress corresponding to the current flow node is successful in execution, the server needs to update the node state of the current flow node in the target visualization flow chart based on the current node progress to be the successful execution state, that is, update the node color of the current flow node to the node color corresponding to the successful execution state; and updating the node state of the subsequent flow node depending on the current flow node to be the executing state, namely updating the node color of the subsequent flow node to be the executing state, so that the subsequent flow node in the executing state is determined to be the current flow node for monitoring when the dynamic visualization monitoring is performed next time. It can be understood that, because the business process is a processing process formed by a plurality of process nodes according to the execution sequence, when each current process node is executed successfully, it needs to determine whether there is a subsequent process node depending on the current process node in the business process, and if there is a subsequent process node depending on the current process node, it needs to update the node state of the subsequent process node depending on the current process node to the executing state at the same time, so as to achieve the purpose of dynamic visual monitoring.
S602: if the current node progress corresponding to the current flow node is not successful in execution, updating the node state of the current flow node in the target visual flow chart based on the current node progress.
As an example, if the current node progress corresponding to the current flow node is not successful in execution, it is indicated that the business flow is still in the processing period of the current flow node and does not jump to the subsequent flow node depending on the current flow node, so that the server only needs to update the node state of the current flow node in the target visualization flow chart in real time based on the current node progress corresponding to the current flow node, that is, update the node color corresponding to the current flow node to the node color corresponding to the current node progress, thereby realizing dynamic visualization monitoring of the current flow node.
In the flow visualization monitoring method provided by the embodiment, when the current node progress corresponding to the current flow node is successful in execution, the node states of the current flow node and the subsequent flow node in the target visualization flow chart are required to be updated at the same time, and when the current node progress corresponding to the current flow node is not successful in execution, the node state of the current flow node in the target visualization flow chart is only required to be updated based on the current node progress, so that the purpose of dynamic visualization monitoring is achieved, and the purpose of executing the comprehensive and efficient monitoring business flow for enterprise development and application system or medical platform development is achieved.
In one embodiment, as shown in fig. 7, in step S504, a node event monitor corresponding to a current flow node is used to process a system log, and a current node progress corresponding to the current flow node is obtained, including:
s701: and processing the system log by adopting a node event monitor corresponding to the current flow node, and judging whether the system log contains the node log corresponding to the current flow node.
As an example, the server may scan the system log with a node event monitor corresponding to the current flow node, and determine whether the system log includes a node log corresponding to the current flow node, so as to reflect whether the current flow node is executed. The node log is formed in the execution process of the current flow node.
S702: if the system log does not contain the node log corresponding to the current flow node, the current node progress corresponding to the current flow node is in execution.
As an example, the server does not include a node log corresponding to the current flow node in the system log, which indicates that the node state corresponding to the current flow node in the target visual flow chart is an executing state, and the user does not execute the current flow node from the time when the node state of the current flow node is the executing state to the current time of the system, at this time, the current node progress corresponding to the current flow node is set as the executing state by default, and the node state of the current flow node in the target visual flow chart is maintained as the executing state.
For example, the node event monitor corresponding to each process node in the target visualization flow chart is formed based on the node attribute information such as the trigger condition, the processing period, the progress identifier and the like, if the trigger condition of any current process node is that the execution of the previous process node is successful, that is, when the execution of the previous process node is successful, the node state of the current process node depending on the previous process node is automatically triggered to be the executing state, and the current process node is dynamically monitored in real time in the processing period from the time when the node state is changed to the executing state.
S703: if the system log comprises a node log corresponding to the current flow node, determining the current node progress corresponding to the current flow node according to the progress identification in the node log.
As an example, when the system log includes the node log corresponding to the current flow node, the server indicates that the current flow node is executed from the time when the node state of the current flow node is the executing state to the current time of the system, at this time, the node log corresponding to the current flow node may be extracted from the system log, and the current node progress corresponding to the current flow node may be determined according to the progress identifier recorded in the node log, so as to implement real-time dynamic monitoring on the current flow node. The progress mark includes, but is not limited to, an in-execution mark, an execution success mark, an execution failure mark, an execution timeout mark, and an execution exception mark.
In the flow visualization monitoring method provided by the embodiment, when the system log does not contain the node log corresponding to the current flow node, the current node progress is set as executing by default; when the system log contains the node log corresponding to the current flow node, the corresponding current node progress is automatically determined according to the progress mark recorded in the node log, so that the execution of the business flow is comprehensively and efficiently monitored.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
In an embodiment, a flow visual monitoring device is provided, where the flow visual monitoring device corresponds to the flow visual monitoring method in the above embodiment one by one. As shown in fig. 8, the flow visualization monitoring device includes a monitoring task acquisition module 801, an initial diagram acquisition module 802, a target diagram acquisition module 803, and a real-time monitoring module 804. The functional modules are described in detail as follows:
the monitoring task obtaining module 801 is configured to obtain a visual monitoring task, where the visual monitoring task includes a service identifier and a flow relationship mapping table, and the flow relationship mapping table includes N flow nodes, a dependency relationship between the nodes, and node attribute information.
The initial graph obtaining module 802 is configured to invoke a standard flow service interface, process the N flow nodes and the dependency relationships between the nodes, and obtain an initial visualized flow graph.
The target graph obtaining module 803 is configured to form a node event monitor based on node attribute information corresponding to the flow node, and embed the node event monitor into the flow node in the initial visualization flow chart, so as to obtain the target visualization flow chart.
The real-time monitoring module 804 is configured to obtain background data corresponding to the service identifier, process the background data with the node event monitor, and update the node status of the flow node in the target visualization flowchart in real time based on the processing result.
Preferably, the initial graph acquisition module 802 includes:
and the interface calling unit is used for acquiring an interface calling request, and the interface calling request comprises a flow chart generation mode.
And the template generating unit is used for calling the configuration visualization template in the fixed flow service interface if the flow chart generating mode is the template mode, and processing the N flow nodes and the dependency relations among the nodes to obtain an initial visualization flow chart.
And the dynamic generation unit is used for calling a flow chart generation algorithm in the dynamic flow chart service interface if the flow chart generation mode is the dynamic mode, and processing the N flow chart nodes and the dependency relations among the nodes to acquire an initial visualized flow chart.
Preferably, the dynamic generation unit includes:
and the node positioning subunit is used for calling node positioning logic corresponding to a flow chart generation algorithm in the dynamic flow chart service interface, processing the N flow chart nodes and the dependency relationship among the nodes and determining the node positions of the N flow chart nodes on the dynamic drawing board.
And the flow drawing subunit is used for calling node drawing logic corresponding to a flow chart generation algorithm in the dynamic flow chart service interface, drawing flow icons and flow connecting lines corresponding to the N flow nodes on the dynamic drawing board according to the dependency relationship among the nodes and the node positions of the N flow nodes on the dynamic drawing board, and acquiring an initial visual flow chart.
Preferably, the real-time monitoring module 804 includes:
and the data source determining unit is used for determining the data source corresponding to the data calling interface based on the data calling interface corresponding to the service identifier.
And the system log acquisition unit is used for acquiring the system log corresponding to the service identifier based on the data calling interface if the data source corresponding to the data calling interface is a local system, and determining the system log as background data corresponding to the service identifier.
The progress data acquisition unit is used for acquiring flow progress data corresponding to the service identifier and fed back by the association system based on the data calling interface if the data source corresponding to the data calling interface is the association system, and determining the flow progress data as background data corresponding to the service identifier.
Preferably, the real-time monitoring module 804 includes:
and the log monitoring unit is used for processing the system log by adopting a node event monitor corresponding to the current flow node if the background data is the system log, acquiring the current node progress corresponding to the current flow node, and updating the node state of the flow node in the target visual flow chart in real time based on the current node progress corresponding to the current flow node.
And the progress monitoring unit is used for determining the current flow node and the current node progress corresponding to the current flow node according to the flow progress data if the background data is the flow progress data, and updating the node state of the flow node in the target visual flow chart in real time based on the current node progress corresponding to the current flow node.
Preferably, the real-time monitoring module 804 includes:
and the updating unit is used for updating the node state of the current flow node in the target visualization flow chart based on the current node progress if the current node progress corresponding to the current flow node is successful in execution, and updating the node state of the follow-up flow node depending on the current flow node.
And the independent updating unit is used for updating the node state of the current flow node in the target visual flow chart based on the current node progress if the current node progress corresponding to the current flow node is not successful in execution.
Preferably, the log monitoring unit includes:
and the node log judging subunit is used for processing the system log by adopting the node event monitor corresponding to the current flow node and judging whether the system log contains the node log corresponding to the current flow node.
The first progress determination subunit is configured to, if the system log does not include a node log corresponding to the current flow node, determine that the current node progress corresponding to the current flow node is in execution.
And the second progress determination subunit is used for determining the current node progress corresponding to the current flow node according to the progress identifier in the node log if the system log comprises the node log corresponding to the current flow node.
For specific limitations of the flow visualization monitoring device, reference may be made to the above limitation of the flow visualization monitoring method, and no further description is given here. The modules in the flow visualization monitoring device can be realized in whole or in part by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 9. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer equipment is used for storing data adopted or generated in the process of executing the flow visual monitoring method. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a process visualization monitoring method.
In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the method for monitoring the flow in the foregoing embodiment when executing the computer program, for example, S201-S204 shown in fig. 2, or S201-S204 shown in fig. 3-7, which are not repeated herein. Alternatively, the processor may implement the functions of each module/unit in this embodiment of the flow visualization monitoring device when executing the computer program, for example, the functions of the monitoring task obtaining module 801, the initial map obtaining module 802, the target map obtaining module 803, and the real-time monitoring module 804 shown in fig. 8, which are not described herein again for avoiding repetition.
In an embodiment, a computer readable storage medium is provided, and a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the method for monitoring the flow in the foregoing embodiment is implemented, for example, S201-S204 shown in fig. 2, or S201-S204 shown in fig. 3-7, which are not repeated herein. Alternatively, the computer program when executed by the processor implements the functions of each module/unit in the embodiment of the flow visualization monitoring device, for example, the functions of the monitoring task obtaining module 801, the initial diagram obtaining module 802, the target diagram obtaining module 803, and the real-time monitoring module 804 shown in fig. 8, which are not repeated herein.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions.
The above embodiments are only for illustrating the technical solution of the present invention, and are not limiting. Although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.

Claims (7)

1. A method for flow visualization monitoring, comprising:
the method comprises the steps of obtaining a visual monitoring task, wherein the visual monitoring task comprises a service identifier and a flow relation mapping table, and the flow relation mapping table comprises N flow nodes, dependency relations among the nodes and node attribute information;
Invoking a standard flow service interface, and processing N flow nodes and the dependency relationship among the nodes to obtain an initial visual flow chart;
forming a node event monitor based on node attribute information corresponding to the flow node, embedding the node event monitor on the flow node in the initial visualization flow chart, and acquiring a target visualization flow chart;
obtaining background data corresponding to the service identifier, processing the background data by adopting the node event monitor, and updating the node state of a flow node in the target visualization flow chart in real time based on a processing result;
the standard flow service interface is called to process the dependency relationship between N flow nodes to obtain an initial visual flow chart, which comprises the following steps:
acquiring an interface call request, wherein the interface call request comprises a flow chart generation mode;
if the flow chart generation mode is a template mode, calling a configuration visualization template in a fixed flow chart service interface, and processing N flow chart nodes and the dependency relationship between the nodes to obtain an initial visualization flow chart;
if the flow chart generation mode is a dynamic mode, a flow chart generation algorithm in a dynamic flow chart service interface is called, and N flow chart nodes and the dependency relations among the nodes are processed to obtain an initial visual flow chart;
And invoking a flow chart generation algorithm in a dynamic flow chart service interface, processing N flow chart nodes and the dependency relationship between the nodes, and obtaining an initial visual flow chart, wherein the method comprises the following steps of:
invoking node positioning logic corresponding to a flow chart generation algorithm in a dynamic flow chart service interface, processing the N flow chart nodes and the dependency relationship between the nodes, and determining the node positions of the N flow chart nodes on a dynamic drawing board;
invoking node drawing logic corresponding to a flow chart generation algorithm in a dynamic flow chart service interface, and drawing flow icons and flow connection lines corresponding to N flow nodes on a dynamic drawing board according to the dependency relationship among the nodes and the node positions of the N flow nodes on the dynamic drawing board to obtain an initial visual flow chart;
the obtaining the background data corresponding to the service identifier comprises the following steps:
determining a data source corresponding to the data calling interface based on the data calling interface corresponding to the service identifier;
if the data source corresponding to the data calling interface is a local system, acquiring a system log corresponding to the service identifier based on the data calling interface, and determining the system log as background data corresponding to the service identifier;
And if the data source corresponding to the data calling interface is an associated system, acquiring flow progress data corresponding to the service identifier and fed back by the associated system based on the data calling interface, and determining the flow progress data as background data corresponding to the service identifier.
2. The method for monitoring and controlling flow visualization according to claim 1, wherein the processing the background data by using the node event monitor, and updating the node status of the flow node in the target visualization flow chart in real time based on the processing result, comprises:
if the background data is a system log, a node event monitor corresponding to a current flow node is adopted to process the system log, a current node progress corresponding to the current flow node is obtained, and the node state of the flow node in the target visual flow chart is updated in real time based on the current node progress corresponding to the current flow node;
if the background data is flow progress data, determining a current flow node and a current node progress corresponding to the current flow node according to the flow progress data, and updating the node state of the flow node in the target visual flow chart in real time based on the current node progress corresponding to the current flow node.
3. The method for monitoring flow visualization according to claim 2, wherein the updating the node status of the flow node in the target visualization flow chart in real time based on the current node progress corresponding to the current flow node comprises:
if the current node progress corresponding to the current flow node is successful in execution, updating the node state of the current flow node in the target visual flow chart based on the current node progress, and updating the node state of the subsequent flow node depending on the current flow node;
and if the current node progress corresponding to the current flow node is not successful in execution, updating the node state of the current flow node in the target visual flow chart based on the current node progress.
4. The method for monitoring and controlling flow visualization according to claim 2, wherein the processing the system log by using a node event monitor corresponding to a current flow node, to obtain a current node progress corresponding to the current flow node, includes:
processing the system log by adopting a node event monitor corresponding to the current flow node, and judging whether the system log comprises the node log corresponding to the current flow node;
If the system log does not contain the node log corresponding to the current flow node, the current node progress corresponding to the current flow node is in execution;
if the system log comprises a node log corresponding to the current flow node, determining the current node progress corresponding to the current flow node according to the progress mark in the node log.
5. A process visualization monitoring device, characterized in that a process visualization monitoring method according to any one of claims 1-4 is used; the flow visual monitoring device comprises:
the system comprises a monitoring task acquisition module, a processing module and a processing module, wherein the monitoring task acquisition module is used for acquiring a visual monitoring task, the visual monitoring task comprises a service identifier and a flow relation mapping table, and the flow relation mapping table comprises N flow nodes, dependency relations among the nodes and node attribute information;
the initial diagram acquisition module is used for calling a standard flow service interface, processing N flow nodes and the dependency relationship among the nodes and acquiring an initial visualization flow diagram;
the target graph acquisition module is used for forming a node event monitor based on the node attribute information corresponding to the flow node, embedding the node event monitor into the flow node in the initial visualization flow chart, and acquiring a target visualization flow chart;
And the real-time monitoring module is used for acquiring background data corresponding to the service identifier, adopting the node event monitor to process the background data, and updating the node state of the flow node in the target visualization flow chart in real time based on a processing result.
6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the flow visualization monitoring method according to any of claims 1 to 4 when executing the computer program.
7. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the flow visualization monitoring method of any of claims 1 to 4.
CN202011063771.7A 2020-09-30 2020-09-30 Flow visual monitoring method, device, computer equipment and storage medium Active CN112181397B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011063771.7A CN112181397B (en) 2020-09-30 2020-09-30 Flow visual monitoring method, device, computer equipment and storage medium
PCT/CN2021/090307 WO2022068189A1 (en) 2020-09-30 2021-04-27 Flow visualization monitoring method and apparatus, computer device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011063771.7A CN112181397B (en) 2020-09-30 2020-09-30 Flow visual monitoring method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112181397A CN112181397A (en) 2021-01-05
CN112181397B true CN112181397B (en) 2023-10-13

Family

ID=73948450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011063771.7A Active CN112181397B (en) 2020-09-30 2020-09-30 Flow visual monitoring method, device, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN112181397B (en)
WO (1) WO2022068189A1 (en)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181397B (en) * 2020-09-30 2023-10-13 平安科技(深圳)有限公司 Flow visual monitoring method, device, computer equipment and storage medium
CN113760641A (en) * 2021-01-08 2021-12-07 北京沃东天骏信息技术有限公司 Service monitoring method, device, computer system and computer readable storage medium
CN112884427A (en) * 2021-01-13 2021-06-01 中国建设银行股份有限公司 Process management method and device supporting multiple service sources
CN113034107B (en) * 2021-03-29 2024-07-16 北京沃东天骏信息技术有限公司 Flow processing method and device
CN113283730B (en) * 2021-05-17 2024-07-02 鲁班(北京)电子商务科技有限公司 Universal approval process application method and device
CN113312409B (en) * 2021-06-07 2024-06-28 平安证券股份有限公司 Task monitoring method and device, electronic equipment and computer readable storage medium
CN115526578A (en) * 2021-11-26 2022-12-27 北京字跳网络技术有限公司 Method and device for generating project flow, electronic equipment and storage medium
CN114706610A (en) * 2022-03-30 2022-07-05 苏州峰之鼎信息科技有限公司 Business flow chart generation method, device, equipment and storage medium
CN115525796A (en) * 2022-05-17 2022-12-27 北京字跳网络技术有限公司 View generation method and device, electronic equipment and storage medium
CN115525371A (en) * 2022-05-20 2022-12-27 北京字跳网络技术有限公司 Image semantic alignment method and device, electronic equipment and storage medium
CN115150459B (en) * 2022-06-30 2023-08-04 苏州浪潮智能科技有限公司 Method and system for managing unified storage device cluster controller nodes
CN116307658A (en) * 2023-01-10 2023-06-23 广东远景信息科技有限公司 Emergency flow management method, system, electronic equipment and storage medium
CN116048490B (en) * 2023-01-28 2023-07-14 广州钛动科技股份有限公司 Business event processing method, device, computer equipment and storage medium
CN116071028B (en) * 2023-03-07 2023-06-02 徐工汉云技术股份有限公司 Equipment monitoring flow chart generation method and device, electronic equipment and storage medium
CN116449809B (en) * 2023-06-16 2023-09-05 成都瀚辰光翼生物工程有限公司 Fault processing method and device, electronic equipment and storage medium
CN116882724B (en) * 2023-07-13 2024-06-11 北京优特捷信息技术有限公司 Method, device, equipment and medium for generating business process optimization scheme
CN116628351B (en) * 2023-07-26 2023-10-20 安徽思高智能科技有限公司 Node-dependency-based flow chart branch recommendation method, device and storage device
CN116680064B (en) * 2023-08-03 2023-10-10 中航信移动科技有限公司 Task node management method, electronic equipment and storage medium
CN116700938B (en) * 2023-08-07 2023-10-27 凯美瑞德(苏州)信息科技股份有限公司 Flow processing method of transaction approval business, electronic equipment and storage medium
CN116755680A (en) * 2023-08-17 2023-09-15 北京凯锐远景科技有限公司 Visual flow editing method and device, storage medium and electronic equipment
CN116756233B (en) * 2023-08-23 2023-11-07 博智安全科技股份有限公司 Situation data processing method and device, electronic equipment and storage medium
CN117149887A (en) * 2023-11-01 2023-12-01 建信金融科技有限责任公司 Abnormality processing method, abnormality processing device, electronic equipment and computer readable medium
CN117411929B (en) * 2023-12-14 2024-03-15 卓望数码技术(深圳)有限公司 Business process monitoring method, device, equipment and storage medium
CN117455419A (en) * 2023-12-22 2024-01-26 江西五十铃汽车有限公司 Whole vehicle project management method and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008084083A (en) * 2006-09-28 2008-04-10 Nec Corp Business monitoring device, business monitoring system, business monitoring method and program
CN103186834A (en) * 2011-12-31 2013-07-03 阿里巴巴集团控股有限公司 Method and device of business process configuration
CN103617486A (en) * 2013-11-21 2014-03-05 中国电子科技集团公司第十五研究所 Method and system for conducting dynamic graphical monitoring on complex service processes
CN107886242A (en) * 2017-11-10 2018-04-06 平安科技(深圳)有限公司 Data monitoring method, device, computer equipment and storage medium
CN108897854A (en) * 2018-06-29 2018-11-27 北京京东金融科技控股有限公司 A kind of monitoring method and device of overtime task
CN110599114A (en) * 2019-08-15 2019-12-20 中国平安财产保险股份有限公司 Business process processing method, device, equipment and computer readable storage medium
CN110852623A (en) * 2019-11-12 2020-02-28 北京计算机技术及应用研究所 BPMN-based command control process design method
CN111324629A (en) * 2020-02-19 2020-06-23 望海康信(北京)科技股份公司 Business data processing method and device, electronic equipment and computer storage medium
CN111506359A (en) * 2020-03-26 2020-08-07 平安普惠企业管理有限公司 Visual service configuration method, device, equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9164965B2 (en) * 2012-09-28 2015-10-20 Oracle International Corporation Interactive topological views of combined hardware and software systems
CN104423960B (en) * 2013-09-10 2018-04-03 阿里巴巴集团控股有限公司 A kind of method and system of project continuous integrating
CN109254901B (en) * 2018-09-30 2019-11-29 北京九章云极科技有限公司 A kind of Monitoring Indexes method and system
CN111355802B (en) * 2020-03-03 2023-04-18 中国邮政储蓄银行股份有限公司 Information pushing method and device
CN112181397B (en) * 2020-09-30 2023-10-13 平安科技(深圳)有限公司 Flow visual monitoring method, device, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008084083A (en) * 2006-09-28 2008-04-10 Nec Corp Business monitoring device, business monitoring system, business monitoring method and program
CN103186834A (en) * 2011-12-31 2013-07-03 阿里巴巴集团控股有限公司 Method and device of business process configuration
CN103617486A (en) * 2013-11-21 2014-03-05 中国电子科技集团公司第十五研究所 Method and system for conducting dynamic graphical monitoring on complex service processes
CN107886242A (en) * 2017-11-10 2018-04-06 平安科技(深圳)有限公司 Data monitoring method, device, computer equipment and storage medium
CN108897854A (en) * 2018-06-29 2018-11-27 北京京东金融科技控股有限公司 A kind of monitoring method and device of overtime task
CN110599114A (en) * 2019-08-15 2019-12-20 中国平安财产保险股份有限公司 Business process processing method, device, equipment and computer readable storage medium
CN110852623A (en) * 2019-11-12 2020-02-28 北京计算机技术及应用研究所 BPMN-based command control process design method
CN111324629A (en) * 2020-02-19 2020-06-23 望海康信(北京)科技股份公司 Business data processing method and device, electronic equipment and computer storage medium
CN111506359A (en) * 2020-03-26 2020-08-07 平安普惠企业管理有限公司 Visual service configuration method, device, equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
可视化业务流程监控设计与实现;丁明;孙文智;陈宗利;;信息通信(02);全文 *
基于jBPM5的业务模型执行方法与实现;田朝阳;康国胜;杨丽琴;张亮;张笑楠;高翔;;计算机工程与科学(04);全文 *
浅析BPM集成技术在企业中的应用展望;王秀霞;侯莉莉;;信息***工程(06);全文 *

Also Published As

Publication number Publication date
CN112181397A (en) 2021-01-05
WO2022068189A1 (en) 2022-04-07

Similar Documents

Publication Publication Date Title
CN112181397B (en) Flow visual monitoring method, device, computer equipment and storage medium
KR102105261B1 (en) Method and device for displaying interface data
CN110795148B (en) Method and device for generating layout file and electronic equipment
US10185549B2 (en) Updating live system with static changes
JP2021515293A (en) Computer implementation of service management for blockchain network infrastructure, systems, computer programs, and blockchain networks
KR20180038539A (en) A method and system for implementing data tracking with a software development kit
US20110209140A1 (en) Automated deployment and servicing of distributed applications
CN103093034B (en) Based on the Collaborative Design method of cloud computing
WO2020082558A1 (en) Function name-based breakpoint setting method, device, computer apparatus, and storage medium
CN104978172A (en) Integrated management and control method, system and equipment of SDN (Software Defined Networking) applications
US11138216B2 (en) Automatically invoked unified visualization interface
US9854002B1 (en) Application centric compliance management system and method for a multi-level computing environment
CN103645908A (en) Full life circle development achievement system of intemetware
US11501313B2 (en) System and method for displaying data from a storage
KR20150082932A (en) Apparatus and method for supporting configuration management of virtual machine, and apparatus and method for brokering cloud service using the apparatus
US20170185421A1 (en) User interfaces in a computer system
US10924590B1 (en) Virtual workspace experience visualization and optimization
TW201525710A (en) Cloud based flexible assembly system of service and method suitable for telecommunication applications
US11902103B2 (en) Method and apparatus for creating a custom service
KR20130063876A (en) Augmented reality system and generation method by cloud computing
CN111339194A (en) Automatic scheduling method and device for middleware of database access layer
US20180060009A1 (en) Managing secondary views for meeting management applications in multi-display environments
KR20160113135A (en) Providing print view of document for editing in web-based application
US20190171746A1 (en) System and Method for Displaying Data From A Storage
CN112381946A (en) Digital scene viewing method and device, storage medium and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant