CN103617486B - A kind of method and system of complex business process dynamic graphical monitoring - Google Patents
A kind of method and system of complex business process dynamic graphical monitoring Download PDFInfo
- Publication number
- CN103617486B CN103617486B CN201310586861.8A CN201310586861A CN103617486B CN 103617486 B CN103617486 B CN 103617486B CN 201310586861 A CN201310586861 A CN 201310586861A CN 103617486 B CN103617486 B CN 103617486B
- Authority
- CN
- China
- Prior art keywords
- business
- task
- information
- business process
- occurred
- 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
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明提供了一种复杂业务流程动态图形化监控的方法和系统,方法包括:根据实时采集的多个业务信息确定已发生的业务流程;其中,每个所述业务信息包括:业务标识和任务名称、以及任务执行指令或任务执行结果;每个所述业务流程包括:执行的任务信息、执行的任务状态、和触发的任务信息;所述任务信息包括:任务名称、任务执行指令或任务执行结果;通过所述已发生的业务流程和未发生的业务流程中含有与所述采集的业务信息中任务名称的关联关系,确定将发生的业务流程,得到所述已发生的业务流程和所述将发生的业务流程的结构关系;将所述得到的业务流程的结构关系,以矢量图的形式展示。本发明还提供一种复杂业务流程动态图形化监控的系统。
The present invention provides a method and system for dynamic graphical monitoring of complex business processes. The method includes: determining the business process that has occurred according to multiple business information collected in real time; wherein, each of the business information includes: business identification and task name, and task execution instruction or task execution result; each said business process includes: executed task information, executed task status, and triggered task information; said task information includes: task name, task execution instruction or task execution Result; through the business process that has occurred and the business process that has not occurred, the associated relationship with the task name in the collected business information is determined to determine the business process that will occur, and the business process that has occurred and the business process that has not occurred are obtained. The structural relationship of the business process that will occur; the structural relationship of the obtained business process is displayed in the form of a vector diagram. The invention also provides a system for dynamic graphical monitoring of complex business processes.
Description
技术领域technical field
本发明涉及计算机领域,具体而言,涉及一种复杂业务流程动态图形化监控的方法与系统。The invention relates to the field of computers, in particular to a method and system for dynamic graphical monitoring of complex business processes.
背景技术Background technique
目前大多数系统的流程监控软件,大都回避了复杂流程图形化监控问题,提供都是基于表格信息,只有少数系统提供简单、演示性的图片动画流程展示,比如航天地面应用系统的信息流转关系,主要强调示意性,实用性相对较差。At present, the process monitoring software of most systems avoids the problem of graphical monitoring of complex processes, and provides information based on tables. Only a few systems provide simple and demonstrative picture animation process display, such as the information flow relationship of aerospace and ground application systems. The main emphasis is on schematic, and the practicality is relatively poor.
虽然多数工作流系统(例如JBPM等)、办公系统中提供了图形化流程设计工具,以及对应的图形化流程监控工具,只能支持一般顺序、简单分支和合并流程监控能力。一般来说复杂业务流程具有较多分支和合并、以及循环,如果详细考虑到各种可能出现的情况,使用流程设计工具设计出来的流程图十分庞大,很难理清流程脉络,基本不可读;极端情况下使用流程设计工具设计一个复杂的流程图,由于节点和连线比较多,到实际业务流程监控时会发现业务监控流程图只能作为示意,失去了业务监控的实用性。因此,现有技术中,不能通过图形化技术处理复杂的业务流程关系,展示的流程关系有限。Although most workflow systems (such as JBPM, etc.) and office systems provide graphical process design tools and corresponding graphical process monitoring tools, they can only support general sequence, simple branch and merge process monitoring capabilities. Generally speaking, complex business processes have many branches, merges, and loops. If various possible situations are considered in detail, the flow chart designed by the process design tool is very large, it is difficult to sort out the process context, and it is basically unreadable; In extreme cases, use a process design tool to design a complex flow chart. Due to the large number of nodes and connections, when monitoring the actual business process, you will find that the business monitoring flow chart can only be used as an illustration, losing the practicability of business monitoring. Therefore, in the prior art, complex business process relationships cannot be processed through graphical technology, and the displayed process relationships are limited.
发明内容Contents of the invention
本发明旨在提供一种复杂业务流程动态图形化监控的方法和系统,以解决上述不能通过图形化技术处理复杂的业务流程关系,展示的流程关系有限的问题。The present invention aims to provide a method and system for dynamic graphical monitoring of complex business processes to solve the above-mentioned problems that complex business process relationships cannot be processed through graphical technology and the displayed process relationships are limited.
本发明提供一种复杂业务流程动态图形化监控的方法,包括:The present invention provides a method for dynamic graphical monitoring of complex business processes, including:
根据采集的多个业务信息确定已发生的业务流程;其中,每个所述业务信息包括;Determine the business process that has occurred according to the multiple business information collected; wherein, each of the business information includes;
业务标识和任务名称、以及任务执行指令或任务执行结果;每个所述业务流程包括:执行的任务信息、执行的任务状态、和触发的任务信息;所述任务信息包括:任务名称、任务执行指令或任务执行结果;通过所述已发生的业务流程和未发生的业务流程中含有与所述采集的业务信息中任务名称的关联关系,确定将发生的业务流程,得到所述已发生的业务流程和所述将发生的业务流程的结构关系;将所述得到的业务流程的结构关系,以矢量图的形式展示。Business identification and task name, and task execution instruction or task execution result; each said business process includes: executed task information, executed task status, and triggered task information; said task information includes: task name, task execution Instruction or task execution result; determine the business process that will occur through the relationship between the business process that has occurred and the business process that has not occurred and the task name in the collected business information, and obtain the business process that has occurred The structural relationship between the process and the business process that will occur; the structural relationship of the obtained business process is displayed in the form of a vector diagram.
优选地,采用贪婪算法确定出所述得到的业务流程的结构关系。Preferably, a greedy algorithm is used to determine the obtained structural relationship of the business process.
优选地,以矢量图的形式展示包括:Preferably, the display in the form of a vector diagram includes:
所述矢量图中的节点作为:执行的任务信息、触发的任务信息、执行的任务状态;所述矢量图中的连线用来描述任务执行指令、或任务执行结果;所述节点和所述连线通过不同颜色表示多种状态。The nodes in the vector diagram are: executed task information, triggered task information, and executed task status; the connection lines in the vector diagram are used to describe task execution instructions or task execution results; the nodes and the Wires represent various states through different colors.
优选地,采用力导向算法确定所述展示的所述矢量图中的节点位置;每种业务信息类型对应一个矢量图。Preferably, a force-directed algorithm is used to determine the positions of nodes in the displayed vector diagram; each type of business information corresponds to a vector diagram.
优选地,不断刷新当前显示的矢量图;接受用户对所述矢量图中的节点或连线的调整;按照调整后的结构关系执行相应的业务流程。Preferably, the currently displayed vector diagram is continuously refreshed; user adjustments to nodes or links in the vector diagram are accepted; and corresponding business processes are executed according to the adjusted structural relationship.
优选地,所述确定已发生的业务流程的过程包括:Preferably, the process of determining the business process that has occurred includes:
通过实时采集的业务信息中的任务名称在全部的多个业务流转规则的任务名称中遍历;将同类任务名称进行关联,确定可能已经执行的流转规则;在多个业务流转规则中的任意两个业务流转规则,如果存在其中一个执行的任务信息中的任务名称和另一个触发的任务信息的任务名称相同,则确定在业务流程中所述两个业务流转规则具有先后的流转关系;根据得到的多个具有先后的流转关系的流转规则、及已经产生的任务信息,采用贪婪算法处理,得到一个已发生的业务流程。Through the task names in the business information collected in real time, traverse all the task names of multiple business flow rules; associate the task names of the same type to determine the flow rules that may have been executed; any two of the multiple business flow rules Business flow rules, if the task name in one of the executed task information is the same as the task name in the other triggered task information, it is determined that the two business flow rules have a sequential flow relationship in the business process; according to the obtained A plurality of flow rules with successive flow relations and already generated task information are processed by a greedy algorithm to obtain a business process that has occurred.
优选地,所述确定将发生的业务流程的过程包括:Preferably, the process of determining the business process to occur includes:
已发生的业务流程中最新的业务信息的业务名称、以及确定的可能发生的业务流转规则,按照最短路径到达流程终点策略,开始试探下一个合理的状态,同时在回溯检查已经执行过或将构成死循环的业务流转规则,将其剔除,反复进行推算,直到达到流程终点位置的业务名称,从而预测了后续的流程走向,得到将发生的业务流程。The business name of the latest business information in the business process that has occurred, and the determined possible business flow rules, according to the shortest path to reach the end of the process strategy, start to test the next reasonable state, and at the same time, the retrospective inspection has been performed or will constitute The business flow rules of the infinite loop are eliminated, and the calculation is repeated until the business name at the end of the process is reached, so as to predict the subsequent process direction and obtain the business process that will occur.
本发明提供一种复杂业务流程动态图形化监控的系统,包括:The present invention provides a system for dynamic graphical monitoring of complex business processes, including:
业务确定模块,用于根据采集的多个业务信息确定已发生的业务流程;其中,每个所述业务信息包括:业务标识和任务名称、以及任务执行指令或任务执行结果;每个所述业务流程包括:执行的任务信息、执行的任务状态、和触发的任务信息;所述任务信息包括:任务名称、任务执行指令或任务执行结果;业务推测模块,用于通过所述已发生的业务流程和未发生的业务流程中含有与所述采集的业务信息中任务名称的关联关系,确定将发生的业务流程;业务关系模块,用于根据所述已发生的业务流程和所述将发生的业务流程,得到所述已发生的业务流程和所述将发生的业务流程的结构关系;展示模块,用于将所述得到的业务流程的结构关系,以矢量图的形式展示。A business determination module, configured to determine a business process that has occurred based on multiple business information collected; wherein, each of the business information includes: business identification and task name, and task execution instructions or task execution results; each of the business The process includes: executed task information, executed task status, and triggered task information; the task information includes: task name, task execution instruction or task execution result; a business speculation module is used to pass the business process that has occurred The business process that has not occurred contains the association relationship with the task name in the collected business information to determine the business process that will occur; the business relationship module is used to The process is to obtain the structural relationship of the business process that has occurred and the business process that will occur; the display module is used to display the structural relationship of the obtained business process in the form of a vector diagram.
优选地,还包括:刷新模块,用于不断刷新当前显示的矢量图;调整模块,用于接受用户对当前或刷新后的所述矢量图中的节点或连线的调整;执行模块,用于按照调整后的结构关系执行相应的业务流程。Preferably, it also includes: a refresh module, configured to continuously refresh the currently displayed vector diagram; an adjustment module, configured to accept user adjustments to nodes or connections in the current or refreshed vector diagram; an execution module, configured to Execute the corresponding business process according to the adjusted structural relationship.
通过上述步骤,将复杂的业务流程关系以简单的图形方式展示给用户,便于用户更直观的了解当前的业务流程。Through the above steps, the complex business process relationship is displayed to the user in a simple graphical manner, which is convenient for the user to understand the current business process more intuitively.
在本发明的实施例中,提供了业务系统复杂流程的一种图形化监控手段。因为采用贪婪算法计算已经发生流程和预测即将发生的流程,形成一个可信、完整业务流程,加上采用力导向算法和图形化技术手段,动态生成矢量的流程图,实现了业务流程可视化,所以克服了复杂流程的动态图形化展现的难题,达到了业务系统监控变得准确、直观效果。In the embodiment of the present invention, a graphical monitoring means for the complex process of the business system is provided. Because the greedy algorithm is used to calculate the processes that have already occurred and predict the processes that are about to occur to form a credible and complete business process, and to use the force-oriented algorithm and graphical technology to dynamically generate vector flow charts and realize the visualization of business processes, so It overcomes the problem of dynamic graphical display of complex processes, and achieves the effect of accurate and intuitive business system monitoring.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:
图1示出了实施例的流程图;Fig. 1 shows the flowchart of embodiment;
图2是复杂业务流程的动态图形化监控总体流程图;Figure 2 is an overall flowchart of dynamic graphical monitoring of complex business processes;
图3是业务流程构建预测示例信息图;Fig. 3 is an information diagram of an example of business process construction prediction;
图4是业务流程矢量模型示例信息图;Fig. 4 is an information diagram of an example of a business process vector model;
图5是业务流程矢量图形显示示例图;Fig. 5 is a diagram showing an example of a business process vector graphic;
图6是复杂业务流程图形化监控系统界面示例图;Fig. 6 is an example diagram of a complex business process graphical monitoring system interface;
图7是复杂业务流程图形化监控系统的结构示意图;Fig. 7 is a schematic structural diagram of a complex business process graphical monitoring system;
图8是复杂业务流程图形化监控系统的实施例的示意图。Fig. 8 is a schematic diagram of an embodiment of a complex business process graphical monitoring system.
具体实施方式detailed description
下面将参考附图并结合实施例,来详细说明本发明。The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments.
参见图1,包括:See Figure 1, including:
S11:根据采集的多个业务信息确定已发生的业务流程;S11: Determine the business process that has occurred according to the multiple business information collected;
其中,每个所述业务信息包括:业务标识和任务名称、以及任务执行指令或任务执行结果;每个所述业务流程包括:执行的任务信息、执行的任务状态、和触发的任务信息;所述任务信息包括:任务名称、任务执行指令或任务执行结果;Wherein, each of the business information includes: business identification and task name, and task execution instructions or task execution results; each of the business processes includes: executed task information, executed task status, and triggered task information; The above task information includes: task name, task execution instruction or task execution result;
S12:通过所述已发生的业务流程和未发生的业务流程中含有与所述采集的业务信息中任务名称的关联关系,确定将发生的业务流程,得到所述已发生的业务流程和所述将发生的业务流程的结构关系;S12: Determine the business process that will occur through the relationship between the business process that has occurred and the business process that has not occurred and the task name in the collected business information, and obtain the business process that has occurred and the business process that has occurred. the structural relationship of the business processes that will take place;
S13:将所述得到的业务流程的结构关系,以矢量图的形式展示。S13: Display the obtained structural relationship of the business process in the form of a vector diagram.
通过上述步骤,将复杂的业务流程关系以简单的图形方式展示给用户,便于用户更直观的了解当前的业务流程。特别是对于航天地面应用系统的信息流转关系,能很清晰的展示。Through the above steps, the complex business process relationship is displayed to the user in a simple graphical manner, which is convenient for the user to understand the current business process more intuitively. Especially for the information flow relationship of aerospace and ground application systems, it can be clearly displayed.
下面通过详细的实施例具体说明上述实施例的详细过程,参见图2,包括:The detailed process of the above-mentioned embodiment is specifically described below through a detailed embodiment, referring to FIG. 2 , including:
1:收集实时的业务信息,每个业务信息包括:{业务标示ID、任务名称TN、任务执行指令TC|任务执行结果TR}。计算机处理指定的任务或活动过程中产生的数据,例如;数据库的数据接收,包含的数据种类、类型等,都可统称为业务信息。1: Collect real-time business information, each business information includes: {business identification ID, task name TN, task execution command TC|task execution result TR}. Data generated during computer processing of designated tasks or activities, for example, data reception from databases, the types and types of data contained, etc., can be collectively referred to as business information.
2:在全部的多个业务流转规则中遍历,然后利用收集的实时业务信息中的任务名称TN进行业务流转规则遍历,关联同类任务,获取与之相关的业务流转规则,{执行的任务信息ET、执行任务状态ES、触发的任务信息TT}。触发的任务信息除了是普通任务信息,还可以是流程终点信息。2: Traverse all the multiple business flow rules, and then use the task name TN in the collected real-time business information to traverse the business flow rules, associate similar tasks, and obtain related business flow rules, {executed task information ET , execution task status ES, triggered task information TT}. In addition to common task information, the triggered task information can also be process end information.
例如:以数据管理系统的数据接收入库策略为例:{数据接收任务信息ET、成功完成接收SS、数据入库任务TT},其中数据接收任务信息包含数据接收任务TN、接收调度指令TC、接收完成结果TR。For example: Take the data receiving and warehousing strategy of the data management system as an example: {data receiving task information ET, successfully completed receiving SS, data warehousing task TT}, where the data receiving task information includes data receiving task TN, receiving scheduling instruction TC, Receive completion result TR.
实时业务信息定义为三元组:{业务标识ID、任务名称TN、任务执行指令TC|任务执行结果TR},其中业务标识ID是业务发生时产生的唯一标识,贯穿业务处理整个流程。Real-time business information is defined as a triplet: {business ID, task name TN, task execution command TC|task execution result TR}, where the business ID is a unique identifier generated when the business occurs, and runs through the entire business process.
以数据接收业务信息为例,包含{当前业务标识ID、数据接收任务TN、数据接收调度指令}和{当前业务标识ID、数据接收任务TN、数据接收结果TR}。Taking data receiving service information as an example, it includes {current service ID, data receiving task TN, data receiving scheduling instruction} and {current service ID, data receiving task TN, data receiving result TR}.
3:确定流程信息3: Determine process information
以一个数据管理服务的任务流程为例,它包含了数据接收(DataRecTask)、数据发送(DataSendTask)、数据入库(DataInTask)、数据输出(DataOutTask)、数据备份(DataBakTask)、数据恢复(DataRestTask)、数据归档(DataArchTask)、数据回取(DataUnArchTask)等活动任务,定义的业务流转规则包含:Taking the task process of a data management service as an example, it includes data receiving (DataRecTask), data sending (DataSendTask), data storage (DataInTask), data output (DataOutTask), data backup (DataBakTask), data recovery (DataRestTask) , data archiving (DataArchTask), data retrieval (DataUnArchTask) and other activity tasks, the defined business flow rules include:
(1)数据接收入库策略{DataRecTask、SuccFinState、DataInTask}、(2)数据接收转发策略{DataRecTask、SuccFinState、DataSendTask}、(3)数据入库备份策略{DataInTask、SuccFinState、DataBakTask}、(4)数据订阅分发策略{DataInTask、SuccFinState、DataSendTask}、(5)数据输出服务策略{DataOutTask、SuccFinState、DataSendTask}、(6)数据恢复输出策略{DataOutTask、SuccFinState、DataSendTask}、(7)数据发送结束策略{DataSendTask、SuccFinState、EndBussFlow}、(8)数据备份结束策略{DataBakTask、SuccFinState、EndBussFlow}等其它各种情况的策略。(1) Data receiving and storage strategy {DataRecTask, SuccFinState, DataInTask}, (2) Data receiving and forwarding strategy {DataRecTask, SuccFinState, DataSendTask}, (3) Data storage and backup strategy {DataInTask, SuccFinState, DataBakTask}, (4) Data subscription distribution strategy {DataInTask, SuccFinState, DataSendTask}, (5) data output service strategy {DataOutTask, SuccFinState, DataSendTask}, (6) data recovery output strategy {DataOutTask, SuccFinState, DataSendTask}, (7) data sending end strategy { DataSendTask, SuccFinState, EndBussFlow}, (8) data backup end strategy {DataBakTask, SuccFinState, EndBussFlow} and other strategies for various situations.
当前情况下按时序收集到的业务信息包括(1)数据接收任务信息{Flow0001、DataRecTask、DataRecTaskCtrl(接收指令)}、(2)数据接收任务信息{Flow0001、DataRecTask、DataRecTaskSuccState(成功接收结果)}、(3)数据入库任务信息{Flow0001、DataInTask、DataInTaskCtrl(入库指令)}、(4)数据发送任务信息{Flow0001、DataSendTask、DataSendTaskCtrl(入库指令)}、(5)数据入库任务信息{Flow0001、DataInTask、DataInTaskSuccState(成功入库结果)}、(6)数据发送任务信息{Flow0001、DataSendTask、DataSendTaskSuccState(成功入库结果)},根据已有的业务信息,通过同类任务关联,可以得出业务流程已产生了三个已发生的任务:数据接收任务、数据入库任务、数据发送任务。In the current situation, the business information collected in time series includes (1) data receiving task information {Flow0001, DataRecTask, DataRecTaskCtrl (receiving command)}, (2) data receiving task information {Flow0001, DataRecTask, DataRecTaskSuccState (successful receiving result)}, (3) Data storage task information {Flow0001, DataInTask, DataInTaskCtrl (storage instruction)}, (4) Data sending task information {Flow0001, DataSendTask, DataSendTaskCtrl (storage instruction)}, (5) Data storage task information { Flow0001, DataInTask, DataInTaskSuccState (result of successful warehousing)}, (6) data sending task information {Flow0001, DataSendTask, DataSendTaskSuccState (result of successful warehousing)}, according to the existing business information, through the association of similar tasks, the business can be obtained The process has produced three tasks that have occurred: data receiving task, data storage task, and data sending task.
流程构造预测过程包括:The process construction forecasting process includes:
通过所述已发生的业务流程和未发生的业务流程中含有与所述采集的业务信息中任务名称的关联关系,确定将发生的业务流程,得到确定出的多个业务流程的结构关系;Determine the business process that will occur through the relationship between the business process that has occurred and the business process that has not occurred and the task name in the collected business information, and obtain the determined structural relationship of multiple business processes;
确定已发生的业务流程的过程包括:The process of determining the business process that has occurred includes:
A通过采集的业务信息的任务名称在全部的多个业务流转规则的任务名称中遍历;A traverses the task names of all multiple business flow rules through the task names of the collected business information;
B将同类任务名称进行关联,确定可能已经执行的流转规则;B associates the names of similar tasks to determine the flow rules that may have been executed;
在多个业务流转规则中的任意两个业务流转规则,如果存在其中一个执行的任务信息中的任务名称和另一个触发的任务信息的任务名称相同,则确定在业务流程中所述两个业务流转规则具有先后的流转关系;In any two business flow rules among multiple business flow rules, if the task name in the task information executed by one of them is the same as the task name in the task information triggered by the other, it is determined that the two business flow rules in the business process The circulation rules have a sequential circulation relationship;
C根据得到的多个具有先后的流转关系的流转规则、及已经产生的任务信息,采用贪婪算法处理,得到一个已发生的业务流程。C uses a greedy algorithm to obtain a business process that has occurred according to the obtained multiple flow rules with sequential flow relations and the generated task information.
确定将发生的业务流程的过程包括:The process of determining the business processes that will occur includes:
已发生的业务流程中最新的业务信息的业务名称、以及确定的可能发生的业务流转规则,按照最短路径到达流程终点策略,开始试探下一个合理的状态,同时在回溯检查已经执行过或将构成死循环的业务流转规则,将其剔除,反复进行推算,直到达到流程终点位置的业务名称,从而预测了后续的流程走向,得到将发生的业务流程。The business name of the latest business information in the business process that has occurred, and the determined possible business flow rules, according to the shortest path to reach the end of the process strategy, start to test the next reasonable state, and at the same time, the retrospective inspection has been performed or will constitute The business flow rules of the infinite loop are eliminated, and the calculation is repeated until the business name at the end of the process is reached, so as to predict the subsequent process direction and obtain the business process that will occur.
由于执行任务信息ET的任务名称TN和触发任务信息TT的任务名称TN相同时,确定两个业务流转规则在该业务中可能具有先后的流转关系,进而认定对应收集两个业务信息{业务标示ID、任务名称TN、任务执行指令TC|任务执行结果TR}的流程上可能存在先后关系。Since the task name TN of the execution task information ET is the same as the task name TN of the trigger task information TT, it is determined that the two business flow rules may have a sequential flow relationship in this business, and then it is determined that the corresponding collection of two business information {business identification ID , task name TN, task execution instruction TC|task execution result TR} may have a sequence relationship.
据此,首先构建已发生业务信息的流程。从业务产生的起点开始梳理,选择下一步候选对象,依据业务流转规则,抛弃一些不合理或不会发生的流转关系、不合理循环,自此反复计算,直至最后所有已经发送的业务信息均梳理到一个流程之上。Based on this, first construct the flow of business information that has occurred. Start sorting out from the starting point of business generation, select candidates for the next step, discard some unreasonable or unreasonable circulation relationships and unreasonable cycles according to the business flow rules, and then calculate repeatedly until finally all the business information that has been sent is sorted out onto a process.
然后根据现有流程包含的业务信息预测流程走向。将已发生流程中最新的业务信息{业务标示ID、任务名称TN、任务执行指令TC|任务执行结果TR}(可能是未合并的各个分支上最新节点),按照最短路径到达流程终点策略,开始试探下一个合理的节点状态,同时在回溯检查这些备选流转规则是否已经执行过或将构成死循环,将其剔除,反复进行推算,直到达到流程终点位置,从而预测了后续的流程走向。Then predict the direction of the process based on the business information contained in the existing process. Take the latest business information {business identification ID, task name TN, task execution instruction TC|task execution result TR} in the process that has occurred (maybe the latest node on each branch that has not been merged), and follow the shortest path to reach the end of the process strategy, start Test the next reasonable node status, and at the same time check back whether these alternative flow rules have been executed or will form an infinite loop, eliminate them, and calculate repeatedly until the end of the process is reached, thereby predicting the subsequent process direction.
最后将已有的业务流程信息和即将可能会发生的业务信息流程进行串联整合,从而形成了一个可信的业务流程。Finally, the existing business process information and the upcoming business information process are serially integrated to form a credible business process.
通过基于贪婪算法进行的流程推导和任务策略排除,排除了可能存在数据订阅分发策略、数据输出服务策略执行的可能性,得出可能执行策略有数据接收入库策略、数据接收转发策略、数据入库备份策略、数据发送结束策略等四个。Through the process derivation and task strategy exclusion based on the greedy algorithm, the possibility of data subscription distribution strategy and data output service strategy execution is ruled out, and the possible execution strategies include data receiving and warehousing strategy, data receiving and There are four database backup strategies and end-of-data sending strategies.
根据现有流程包含的业务信息预测流程走向。将已发生流程中最新的业务信息{业务标示ID、任务名称TN、任务执行指令TC|任务执行结果TR}(即未合并的各个分支上最新节点),按照最短路径到达流程终点策略,开始试探下一个合理的节点状态,同时在回溯检查这些备选流转规则是否已经执行过或将构成死循环,将其剔除,反复进行推算,直到达到流程终点位置,从而预测了后续的流程走向。最后将已有的业务流程信息和即将可能会发生的业务信息流程进行串联整合,从而形成了一个可信的业务流程。Predict the process direction based on the business information contained in the existing process. Use the latest business information {business identification ID, task name TN, task execution command TC|task execution result TR} in the process that has occurred (that is, the latest node on each branch that has not been merged) to reach the end of the process according to the shortest path strategy, and start testing The next reasonable node state, while backtracking to check whether these alternative flow rules have been executed or will form an infinite loop, eliminate them, and repeatedly calculate until the end of the process is reached, thereby predicting the subsequent process direction. Finally, the existing business process information and the upcoming business information process are serially integrated to form a credible business process.
预测将会产生数据备份任务,因此形成一个可信的业务流程为(数据接收任务DataRecTask)→(数据入库任务DataInTask)→(数据备份任务DataBakTask)→(结束EndBussFlow)和(数据接收任务DataRecTask)→(数据发送任务DataSendTask)→(结束EndBussFlow)的复合流程。It is predicted that a data backup task will be generated, so a credible business process is formed as (data receiving task DataRecTask)→(data storage task DataInTask)→(data backup task DataBakTask)→(end EndBussFlow) and (data receiving task DataRecTask) →(data sending task DataSendTask)→(end EndBussFlow) composite process.
4.0:通过得到的流程信息生成矢量流程图4.0: Generate a vector flow chart through the obtained process information
采用力导向(Force-directed)算法,用于生成直观的矢量流程图。主要使用有向图来描述业务流程图,按照任务节点图元之间的作用力由任务节点本身相互之间的吸引力和斥力以及状态信息连线上的弹力所决定,通过多次迭代计算,最终形成达到一个力的平衡状态,进而为流程图生成了几何信息,包含几何图形基本位置信息和屏幕相对位置信息,将表述同一个流程要素信息的多个小图元(几何图元和文本描述图元)进行范围合并、不同流程要素之间的几何相交信息进行切分隔离等优化处理手段,避免出现后续流程要素操作响应丢失、重复等情况,从而生成了一个准确、合理的业务流程矢量模型,为矢量图生成奠定基础。Force-directed (Force-directed) algorithm is used to generate intuitive vector flow charts. Directed graphs are mainly used to describe the business flow chart. According to the force between the task node graph elements is determined by the mutual attraction and repulsion of the task nodes themselves and the elastic force on the state information connection. Through multiple iterative calculations, Finally, a force balance state is reached, and then geometric information is generated for the flow chart, including the basic position information of the geometric figure and the relative position information of the screen, and multiple small primitives (geometric primitives and text descriptions) that will express the information of the same process elements Graphic elements) for range merging, geometric intersection information between different process elements for segmentation and isolation, etc., to avoid the loss and duplication of subsequent process element operation responses, thus generating an accurate and reasonable business process vector model , laying the foundation for vector graphics generation.
依照上述数据管理服务的业务流程监控中产生的业务流程,由于存在不对称分支,确立有向图的水平布局和横向扩展的算法参数,将流程要素信息(包括任务名称、指令信息、执行结果、任务状态等)转换为指定规则图元,确定几何形状和大小信息,通过力导向(Force-directed)算法进行迭代计算图元的几何位置,并通过屏幕像素的位置换算(矢量几何长度与实际像素长度的固定换算比约为1.42),最终获得了各个图元的显示信息,继而完成了该业务流程的显示布局。According to the business process generated in the business process monitoring of the above-mentioned data management service, due to the existence of asymmetric branches, the horizontal layout of the directed graph and the algorithm parameters of horizontal expansion are established, and the process element information (including task name, instruction information, execution result, Task state, etc.) into specified rule primitives, determine the geometric shape and size information, iteratively calculate the geometric position of the primitive through the force-directed algorithm, and convert the position of the screen pixel (vector geometric length and actual pixel The fixed conversion ratio of the length is about 1.42), and finally the display information of each graphic element is obtained, and then the display layout of the business process is completed.
4.1:生成业务流程矢量模型4.1: Generate business process vector model
由于复杂业务流程很难完整规约或枚举所有流程的可能走向,因此流程模型需要通过简单、精练。为此将业务流程矢量模型定义要素为图Graph、节点Node、连线Edge等以及要素的几何位置关系,其中图用于说明整个流程的业务信息类型,节点用来描述主要执行业务触发信息、任务信息ET和执行任务状态ES(说明:触发任务信息TT在业务流程矢量模型中表达为执行任务信息ET),连线用来描述任务执行指令TC、任务执行结果TR或业务流程必备要素信息,各个要素颜色与反应的业务信息挂钩(比如失败或停滞任务对应节点显示红色),最后通过几何的点、矩形、带箭头来标识这些要素,并赋予每个实体要素几何信息。Since complex business processes are difficult to completely specify or enumerate the possible directions of all processes, the process model needs to be simple and concise. To this end, the business process vector model defines elements as graph Graph, node Node, connection Edge, etc., and the geometric positional relationship of the elements, where the graph is used to illustrate the business information type of the entire process, and the nodes are used to describe the main execution business trigger information, tasks Information ET and execution task status ES (Note: Trigger task information TT is expressed as execution task information ET in the business process vector model), and the connection is used to describe the task execution instruction TC, task execution result TR or essential element information of the business process, The color of each element is linked to the corresponding business information (for example, the corresponding node of a failed or stagnant task is displayed in red), and finally these elements are identified by geometric points, rectangles, and arrows, and geometric information is given to each entity element.
以上述数据管理服务的业务流程为例,产生的业务流程矢量模型信息如图3所示。Taking the business process of the above-mentioned data management service as an example, the generated business process vector model information is shown in FIG. 3 .
最后通过业务标识ID从收集到业务信息从获取与流程图上要素相关的信息,最终形成了带有流程图的图元显示信息和业务信息的业务流程矢量模型,示例生成的业务流程矢量模型如图4所示。Finally, the information related to the elements on the flowchart is obtained from the collection of business information through the business identification ID, and finally a business process vector model with graphic element display information and business information of the flowchart is formed. The business process vector model generated by the example is as follows Figure 4 shows.
5:通过矢量图形进行流程动态绘制显示5: Process dynamic drawing and display through vector graphics
生成的矢量流程图是遵循SVG的矢量图形规范格式,通过SVG绘制渲染引擎,即可完成绘制,形成直观的监视信息(例如图5所示,全面反映了该数据管理服务的实际业务运行情况);通过动态业务变化及时产生新的矢量图形,并及时完成界面绘制,从而实现了动态流程绘制显示,提供流程监视的手段。The generated vector flow chart follows the SVG vector graphic specification format, and the drawing can be completed through the SVG rendering engine to form intuitive monitoring information (for example, as shown in Figure 5, which fully reflects the actual business operation of the data management service) ; Generate new vector graphics in time through dynamic business changes, and complete interface drawing in time, thereby realizing dynamic process drawing display and providing a means of process monitoring.
6:根据图元信息对流程图进行操作响应6: Respond to the operation of the flow chart according to the primitive information
用户通过监视流程图变化,选定相关的图元,定位响应的图元信息,进而追溯到业务流程图节点和连线,继而显示对应的业务信息。By monitoring the changes in the flowchart, the user selects the relevant graphic elements, locates the corresponding graphic element information, and then traces back to the nodes and connections of the business flowchart, and then displays the corresponding business information.
7:查询流程要素信息7: Query process element information
8:根据业务提示对流程进行控制8: Control the process according to the business prompt
接受用户对所述矢量图中的节点或连线的调整;按照调整后的结构关系执行相应的业务流程。Accepting the user's adjustment to the nodes or connections in the vector diagram; and executing the corresponding business process according to the adjusted structural relationship.
根据业务信息状态情况(比如任务失败),提示进行相应的操作处理(比如对应有重启操作,例如图6所示),最后用户可以根据提示完成相应的业务控制。According to the state of business information (such as task failure), prompts to perform corresponding operations (such as corresponding restart operations, such as shown in Figure 6), and finally the user can complete the corresponding business control according to the prompts.
在图5、图6中,还可根据节点、连线通过不同颜色表示多种状态。以提示用户当前的流程状态,便于用户调整。In Fig. 5 and Fig. 6, various states can also be represented by different colors according to nodes and lines. To prompt the user of the current process status, which is convenient for the user to adjust.
上面详细描述了本发明的方法实施例,下面说明本发明的系统结构的实施例。The method embodiment of the present invention is described in detail above, and the embodiment of the system structure of the present invention is described below.
本发明的系统结构可根据图7中的架构流程构建,图8示出了其中的一种结构,包括:The system structure of the present invention can be constructed according to the architecture process in Figure 7, and Figure 8 shows one of the structures, including:
业务确定模块,用于根据采集的多个业务信息确定已发生的业务流程;A business determination module, configured to determine the business process that has occurred according to the collected multiple business information;
其中,每个所述业务信息包括:业务标识和任务名称、以及任务执行指令或任务执行结果;每个所述业务流程包括:执行的任务信息、执行的任务状态、和触发的任务信息;所述任务信息包括:任务名称、任务执行指令或任务执行结果;Wherein, each of the business information includes: business identification and task name, and task execution instructions or task execution results; each of the business processes includes: executed task information, executed task status, and triggered task information; The above task information includes: task name, task execution instruction or task execution result;
业务推测模块,用于通过所述已发生的业务流程和未发生的业务流程中含有与所述采集的业务信息中任务名称的关联关系,确定将发生的业务流程;A business speculation module, configured to determine the business process that will occur through the relationship between the business process that has occurred and the business process that has not occurred and the task name in the collected business information;
业务关系模块,用于根据所述已发生的业务流程和所述将发生的业务流程,得到所述已发生的业务流程和所述将发生的业务流程的结构关系;A business relationship module, configured to obtain the structural relationship between the business process that has occurred and the business process that will occur according to the business process that has occurred and the business process that will occur;
展示模块,用于将所述得到的业务流程的结构关系,以矢量图的形式展示。The display module is used to display the obtained structural relationship of the business process in the form of a vector diagram.
优选地,还包括:Preferably, it also includes:
刷新模块,用于不断刷新当前显示的矢量图;Refresh module, used to continuously refresh the currently displayed vector graphics;
调整模块,用于接受用户对当前或刷新后的所述矢量图中的节点或连线的调整;An adjustment module, configured to accept user adjustments to nodes or links in the current or refreshed vector diagram;
执行模块,用于按照调整后的结构关系执行相应的业务流程。The execution module is configured to execute corresponding business processes according to the adjusted structural relationship.
从以上的描述中可以看出,本发明实现了如下技术效果:As can be seen from the above description, the present invention has achieved the following technical effects:
根据实时采集的业务信息,依照业务流转规则,通过计算和推测得出业务关系,形成业务流程;通过可视化处理,辅助动态调整和刷新,最终生成了动态图形化的流程,具有实时、直观、准确等监控特点,为面向复杂业务流程的动态图形化监控提供了有效的技术手段。显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。According to the business information collected in real time and in accordance with the business flow rules, the business relationship is obtained through calculation and speculation, and the business process is formed; through visual processing, the dynamic adjustment and refresh are assisted, and a dynamic graphical process is finally generated, which is real-time, intuitive and accurate. It provides an effective technical means for dynamic graphical monitoring of complex business processes. Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Optionally, they can be implemented with program codes executable by a computing device, so that they can be stored in a storage device and executed by a computing device, or they can be made into individual integrated circuit modules, or they can be integrated into Multiple modules or steps are fabricated into a single integrated circuit module to realize. As such, the present invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310586861.8A CN103617486B (en) | 2013-11-21 | 2013-11-21 | A kind of method and system of complex business process dynamic graphical monitoring |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310586861.8A CN103617486B (en) | 2013-11-21 | 2013-11-21 | A kind of method and system of complex business process dynamic graphical monitoring |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103617486A CN103617486A (en) | 2014-03-05 |
CN103617486B true CN103617486B (en) | 2017-01-04 |
Family
ID=50168190
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310586861.8A Active CN103617486B (en) | 2013-11-21 | 2013-11-21 | A kind of method and system of complex business process dynamic graphical monitoring |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103617486B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106803152A (en) * | 2017-01-23 | 2017-06-06 | 北京外企德科人力资源服务上海有限公司 | A kind of operation flow Visualized Monitoring System |
Families Citing this family (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104966136A (en) * | 2015-06-25 | 2015-10-07 | 北京慧点科技有限公司 | Dynamic process execution prediction method |
CN105117828A (en) * | 2015-08-05 | 2015-12-02 | 北京恒华伟业科技股份有限公司 | Flow state display method and device |
CN106557854A (en) * | 2015-09-25 | 2017-04-05 | 北京奇虎科技有限公司 | A kind of methods of exhibiting and device of operation flow |
CN106934587A (en) * | 2015-12-30 | 2017-07-07 | 远光软件股份有限公司 | A kind of data processing method and device |
CN106651301A (en) * | 2016-11-29 | 2017-05-10 | 东软集团股份有限公司 | Process monitoring method and apparatus |
CN106777157B (en) * | 2016-12-20 | 2023-04-07 | 西南石油大学 | Topic-based gravity-like model microblog prediction method and system |
US10235783B2 (en) * | 2016-12-22 | 2019-03-19 | Huawei Technologies Co., Ltd. | System and method for visualization of a compute workflow |
CN107122285B (en) * | 2017-06-01 | 2020-03-06 | 北京瑞和益生科技有限公司 | Multi-process control dynamic display and intelligent change system and method |
CN109377106A (en) * | 2018-12-06 | 2019-02-22 | 浪潮通用软件有限公司 | A kind of operation flow implementation method based on pilot pattern |
CN110362475A (en) * | 2019-06-17 | 2019-10-22 | 北京奇艺世纪科技有限公司 | A kind of information acquisition method, device, terminal device and storage medium |
CN110399269A (en) * | 2019-07-26 | 2019-11-01 | 新奥数能科技有限公司 | The monitoring method and device of process progress |
CN110458433B (en) * | 2019-07-31 | 2022-05-17 | 克劳丽化妆品股份有限公司 | Construction method and device of industrial internet and computer storage medium |
CN110413267B (en) * | 2019-08-08 | 2023-05-26 | 四川爱创科技有限公司 | Self-adaptive business process modeling method based on business rules |
CN110705036B (en) * | 2019-09-10 | 2023-04-07 | 中广核工程有限公司 | A nuclear power design task management system, method and storage medium |
CN110920689B (en) * | 2019-10-16 | 2022-03-11 | 北京万相融通科技股份有限公司 | Operation progress monitoring method and system |
CN110920688B (en) * | 2019-10-16 | 2022-05-06 | 北京万相融通科技股份有限公司 | Operation progress monitoring method and system |
CN110990222B (en) * | 2019-11-27 | 2024-02-23 | 中国银行股份有限公司 | Cross-platform graphical operation monitoring method and device based on mainframe |
CN111522630B (en) * | 2020-04-30 | 2021-04-06 | 北京江融信科技有限公司 | Method and system for executing planned tasks based on batch dispatching center |
CN112181397B (en) * | 2020-09-30 | 2023-10-13 | 平安科技(深圳)有限公司 | Flow visual monitoring method, device, computer equipment and storage medium |
CN112365239A (en) * | 2020-11-23 | 2021-02-12 | 中国电子科技集团公司第十五研究所 | Event-based cloud service management handling method and system |
CN112433915B (en) * | 2020-11-30 | 2023-06-16 | 泰康保险集团股份有限公司 | Data monitoring method and related device based on distributed performance monitoring tool |
CN114138374B (en) * | 2021-12-06 | 2024-06-18 | 拉扎斯网络科技(上海)有限公司 | A trusted computing task execution method and a trusted computing system |
CN114640686A (en) * | 2022-03-15 | 2022-06-17 | 金蝶软件(中国)有限公司 | Business data uplink method, uplink engine device and computer storage medium |
CN114819906A (en) * | 2022-05-06 | 2022-07-29 | 广州有信科技有限公司 | BPMN business process conversion method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101075192A (en) * | 2007-06-14 | 2007-11-21 | 高建强 | Method and apparatus for defining service flow in data system |
CN101510155A (en) * | 2009-02-19 | 2009-08-19 | 北京思普科科技开发有限公司 | Service flow path and engine flow path graphic revealing method |
CN101546273A (en) * | 2009-05-08 | 2009-09-30 | 中国科学院软件研究所 | Method for forecasting execution time of software process |
CN102096593A (en) * | 2011-02-16 | 2011-06-15 | 上海普元信息技术股份有限公司 | Flex technology-based Web end service flow graphical editing framework system and method |
US8108241B2 (en) * | 2001-07-11 | 2012-01-31 | Shabina Shukoor | System and method for promoting action on visualized changes to information |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7933762B2 (en) * | 2004-04-16 | 2011-04-26 | Fortelligent, Inc. | Predictive model generation |
-
2013
- 2013-11-21 CN CN201310586861.8A patent/CN103617486B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8108241B2 (en) * | 2001-07-11 | 2012-01-31 | Shabina Shukoor | System and method for promoting action on visualized changes to information |
CN101075192A (en) * | 2007-06-14 | 2007-11-21 | 高建强 | Method and apparatus for defining service flow in data system |
CN101510155A (en) * | 2009-02-19 | 2009-08-19 | 北京思普科科技开发有限公司 | Service flow path and engine flow path graphic revealing method |
CN101546273A (en) * | 2009-05-08 | 2009-09-30 | 中国科学院软件研究所 | Method for forecasting execution time of software process |
CN102096593A (en) * | 2011-02-16 | 2011-06-15 | 上海普元信息技术股份有限公司 | Flex technology-based Web end service flow graphical editing framework system and method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106803152A (en) * | 2017-01-23 | 2017-06-06 | 北京外企德科人力资源服务上海有限公司 | A kind of operation flow Visualized Monitoring System |
Also Published As
Publication number | Publication date |
---|---|
CN103617486A (en) | 2014-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103617486B (en) | A kind of method and system of complex business process dynamic graphical monitoring | |
CN109313739B (en) | System and method for providing visualization of workflow | |
US20120011458A1 (en) | Visualizing Expressions for Dynamic Analytics | |
US9466041B2 (en) | User selected flow graph modification | |
US20140033173A1 (en) | Generating Layouts for Graphs of Data Flow Applications | |
US10922892B1 (en) | Manipulation of virtual object position within a plane of an extended reality environment | |
CN105843945A (en) | Report generation method and system | |
WO2011142720A1 (en) | A self-organizing and contextual graphical user interface | |
US12113873B2 (en) | Techniques for analyzing the proficiency of users of software applications in real-time | |
JP6423803B2 (en) | Queue monitoring and visualization | |
CN107908469B (en) | A task scheduling method and system | |
CN111125451A (en) | Data production and processing method, device, electronic device and storage medium | |
CN103257852B (en) | The method and apparatus that a kind of development environment of distribution application system is built | |
US20220215349A1 (en) | Interactive data analysis and scheduling | |
CN109766373A (en) | Power grid data display method and computer-readable storage medium | |
US20130096967A1 (en) | Optimizer | |
CN105867930A (en) | Display method and device for function calling relation and terminal | |
US10627984B2 (en) | Systems, devices, and methods for dynamic virtual data analysis | |
van der Aalst et al. | Process mining and visual analytics: Breathing life into business process models | |
US11250058B2 (en) | Providing an easily navigable visual representation of a graph | |
CN109829008A (en) | A kind of data analysis real time visualized method and system | |
CN119202785A (en) | Method, device, electronic device and storage medium for determining root cause of fault | |
JP2011060062A (en) | Support system, support method, and support program for system specification change | |
Chircu et al. | Visualization and machine learning for data center management | |
Kandaperumal et al. | Rt-rms: A real-time resiliency management system for operational decision support |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |