CN110928525A - Automatic log generation method and system for business flow development tool - Google Patents
Automatic log generation method and system for business flow development tool Download PDFInfo
- Publication number
- CN110928525A CN110928525A CN201911099108.XA CN201911099108A CN110928525A CN 110928525 A CN110928525 A CN 110928525A CN 201911099108 A CN201911099108 A CN 201911099108A CN 110928525 A CN110928525 A CN 110928525A
- Authority
- CN
- China
- Prior art keywords
- flow
- node
- development
- nodes
- script
- 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.)
- Pending
Links
- 238000011161 development Methods 0.000 title claims abstract description 55
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000013515 script Methods 0.000 claims abstract description 26
- 230000002159 abnormal effect Effects 0.000 claims abstract description 23
- 230000008569 process Effects 0.000 claims abstract description 23
- 230000007246 mechanism Effects 0.000 claims abstract description 9
- 238000004458 analytical method Methods 0.000 claims description 4
- 230000000694 effects Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 5
- 238000005034 decoration Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013024 troubleshooting Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000012800 visualization Methods 0.000 description 2
- 238000012938 design process Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/10—Requirements analysis; Specification techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Computer Hardware Design (AREA)
- Debugging And Monitoring (AREA)
Abstract
The application provides a method and a system for automatically generating a log of a service flow development tool, wherein the method comprises the following steps: determining to-be-processed operation in a service flow, wherein the service flow is formed by at least one operation, and the at least one operation is sequentially dragged, defined and developed to generate a process script; analyzing node data in the flow script, wherein an exception capture mechanism is respectively added to each node; when the nodes are abnormal during execution, capturing real-time data information of all parameters of the abnormal nodes, and outputting the real-time data information and the abnormal information to a log file.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and a system for automatically generating a log for a service flow development tool.
Background
With the development of IT information-based business, a large amount of data needs to be processed in daily business of a company, and a large amount of manpower is occupied for processing simple and repeated operations. The concept of business flow is originated from the field of production organization and office automation, and is a concept provided for activities with fixed programs in daily work, and the purpose is to decompose work into well-defined tasks or roles, execute the tasks according to certain rules and processes and monitor the tasks, so that the purposes of improving work efficiency, better controlling the process, enhancing the service to customers, effectively managing business processes and the like are achieved.
Among them, RPA is a typical technology using a service flow development tool. The RPA can quickly generate executable robot scripts by editing the model through a visual integrated development tool (IDE). To help non-technicians configure and develop business processes quickly and reduce development costs, integrated development tools often employ models for robot Business Process Diagram (BPD) definition. Developers can quickly modify and adjust business logic through a model editing tool. However, RPA flow robots often encounter unexpected problems while in operation, or unexpected events cause the flow to fail or crash. Because the executable script is dynamically generated by the visual development tool, the developer cannot quickly locate the cause of the problem and improve the problem if the executable script is not manually configured or set. This is also a typical problem encountered by all traffic flow development tools.
Currently, the industry has related customized log output specifications, but an automatic log output method aiming at a service flow development tool is lacked, each log output in a service flow design process needs to be manually set, the development cost is high, and the method is difficult to maintain, wastes time and labor.
Disclosure of Invention
The application provides a log automatic generation method and a log automatic generation system for a business flow development tool, which can automatically generate a log buried point so as to quickly reserve and store key information. Therefore, when the problem is guaranteed, the developer can quickly locate the problem according to the log. The technical scheme adopted by the application is as follows:
in a first aspect, a method for automatically generating a log for a business flow development tool is provided, where the method includes:
determining pending operations in a traffic flow, the traffic flow being composed of at least one operation, the at least one operation being sequentially dragged to define development,
generating a flow script;
analyzing node data in the flow script, wherein an exception capture mechanism is respectively added to each node; when the nodes are abnormal during execution, capturing real-time data information of all parameters of the abnormal nodes, and outputting the real-time data information and the abnormal information to a log file.
Preferably, in the method for automatically generating a log for a service flow development tool, the development process is embodied in a service flow chart in real time, the operation has corresponding nodes in the service flow chart, and each node configures corresponding node data, including entry and exit.
In a second aspect, there is provided an automatic log generation system for a business flow development tool, the system comprising:
compared with the prior art that each log output in the process of designing the service flow process needs to be manually set, the method and the system for automatically generating the logs for the service flow development tool respectively add an exception capture mechanism to each node; when the nodes are abnormal during execution, the real-time data information of all the parameters of the abnormal nodes is automatically captured, and the real-time data information and the abnormal information are output to a log file, so that a positioning basis is reserved for follow-up service monitoring and problem judgment, manual setting of log output is avoided, and development cost is greatly reduced.
Preferably, in the log automatic generation system for a business flow development tool, the system further includes a configuration module, and the configuration module is used for the following situations: the development process is embodied in a business flow chart in real time, the operation has corresponding nodes in the business flow chart, and each node is configured with corresponding node data, including entry and exit.
Compared with the prior art that each log output in the process of designing the service flow needs to be manually set, the log automatic generation method and the log automatic generation system for the service flow development tool can automatically generate log burying points so as to quickly reserve and store key information. The problems that in the prior art, development cost is high, maintenance is not easy, time and labor are wasted are solved, and the purpose that when the problems occur, developers can be quickly positioned according to logs is guaranteed.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a service flow diagram of a method for automatically generating a log for a service flow development tool according to an embodiment of the present application;
fig. 2 is a schematic node configuration diagram of a service flow chart of a method for automatically generating a log for a service flow development tool according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a process model parsing process of a log automatic generation method for a service flow development tool and automatically performing log embedding according to an embodiment of the present application;
fig. 4 is a logic code corresponding to a business flow chart analysis process of a method for automatically generating a log for a business flow development tool according to an embodiment of the present application;
fig. 5 is a structural diagram of an automatic log generation system for a service flow development tool according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Example one
The embodiment of the application provides an automatic log generation method for a service flow development tool, which comprises the following steps:
step one, determining to-be-processed operation in a service flow, wherein the service flow is composed of at least one operation, and the at least one operation is sequentially dragged, defined and developed.
Specifically, as shown in fig. 1, by using a process robot visualization development tool, a business developer can perform business process arrangement based on business requirements. Different execution operations of the robot are described by using different types of nodes, and business flow activities can be formed by dragging different nodes.
And step two, generating a flow script.
Specifically, the development tool transfers all activities in sequence into a flow script according to the business flow definition and the corresponding rule, and the script is analyzed and executed by the flow robot execution engine.
Analyzing the node data in the flow script, wherein an exception capture mechanism is added to each node; when the nodes are abnormal during execution, capturing real-time data information of all parameters of the abnormal nodes, and outputting the real-time data information and the abnormal information to a log file.
Specifically, as shown in fig. 3, the execution engine executes the corresponding functional logic according to the flow script and according to the activity and the sequence of the nodes in the activity.
In the prior art, the corresponding log information can be input only by configuring a complex log judgment rule on the node, and the log can be automatically judged and generated only by utilizing the parameter configuration information of the node, so that the development time is greatly saved, and the development efficiency is improved.
Specifically, as shown in fig. 3 and 4, the execution engine may add an exception capture mechanism before and after the node, may capture real-time data information of the corresponding parameter according to the entry and exit parameter information defined in fig. 2, and output the data information and the exception information to the log file, thereby implementing full tracking of error information and facilitating problem troubleshooting.
Example two
In another embodiment of the present invention, on the basis of the automatic log generation method for a service flow development tool in the first embodiment, the development process is embodied in a service flow chart in real time, the operation has corresponding nodes in the service flow chart, and each node is configured with corresponding node data, including entry and exit.
Specifically, as shown in fig. 2, in one activity, a service developer may configure corresponding node data, including entry and exit, according to different operations, and a node ID needs to be generated as a tool to ensure global uniqueness, so that the node data can uniquely correspond to data information and abnormal information of each node, thereby facilitating information tracking.
EXAMPLE III
As shown in fig. 5, an automatic log generation system for a business flow development tool is provided, which includes a definition development module, a script module, a parsing module, and a configuration module.
The definition development module is used for determining the operation to be processed in the service flow, wherein the service flow is composed of at least one operation, and the at least one operation is sequentially dragged, defined and developed.
Specifically, by using a definition development module (process robot visualization development tool), a business developer can perform business process arrangement based on business requirements. Different execution operations of the robot are described by using different types of nodes, and business flow activities can be formed by dragging different nodes.
And the script module is used for generating the flow script.
Specifically, a script module in the development tool transfers all activities in sequence into a flow script according to business flow definitions and corresponding rules, and the script is analyzed and executed by a flow robot execution engine.
The analysis module is used for analyzing the node data in the flow script, wherein an exception capture mechanism is respectively added to each node; when the nodes are abnormal during execution, capturing real-time data information of all parameters of the abnormal nodes, and outputting the real-time data information and the abnormal information to a log file.
Specifically, the parsing module (execution engine) executes corresponding functional logic according to the flow script and according to the activity and the sequence of the nodes in the activity.
In the prior art, the corresponding log information can be input only by configuring a complex log judgment rule on the node, and the log can be automatically judged and generated only by utilizing the parameter configuration information of the node, so that the development time is greatly saved, and the development efficiency is improved.
Specifically, the execution engine adds an exception capture mechanism before and after the node, can capture real-time data information of corresponding parameters according to the entry and exit parameter information defined as shown in fig. 2, and outputs the data information and the exception information to a log file, so that the full tracking of error information is realized, and the problem troubleshooting is facilitated.
The configuration module is used for the following situations: the development process is embodied in a business flow chart in real time, the operation has corresponding nodes in the business flow chart, and each node is configured with corresponding node data, including entry and exit.
Specifically, in one activity, a service developer can configure corresponding node data, including entry and exit, by using a configuration module according to different operations, and a node ID needs to be generated as a tool to ensure global uniqueness, so that the node data can uniquely correspond to data information and abnormal information of each node, and information tracking is facilitated.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.
Claims (4)
1. A log automatic generation method for a business flow development tool is characterized by comprising the following steps:
determining pending operations in a traffic flow, the traffic flow being composed of at least one operation, the at least one operation being sequentially dragged to define development,
generating a flow script;
analyzing node data in the flow script, wherein an exception capture mechanism is respectively added to each node; when the nodes are abnormal during execution, capturing real-time data information of all parameters of the abnormal nodes, and outputting the real-time data information and the abnormal information to a log file.
2. The method according to claim 1, wherein the development process is embodied in a business flow chart in real time, the operation has corresponding nodes in the business flow chart, and each node configures corresponding node data, including entry and exit.
3. An automatic log generation system for a business flow development tool, the automatic log generation system for a business flow development tool comprising: defining a development module, a script module and an analysis module, wherein:
the definition development module is used for determining the operation to be processed in the service flow, the service flow is composed of at least one operation, the at least one operation is sequentially dragged and defined for development,
the script module is used for generating a flow script;
the analysis module is used for analyzing the node data in the flow script, wherein an exception capture mechanism is respectively added to each node; when the nodes are abnormal during execution, capturing real-time data information of all parameters of the abnormal nodes, and outputting the real-time data information and the abnormal information to a log file.
4. The system of claim 3, further comprising a configuration module configured to: the development process is embodied in a business flow chart in real time, the operation has corresponding nodes in the business flow chart, and each node is configured with corresponding node data, including entry and exit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911099108.XA CN110928525A (en) | 2019-11-12 | 2019-11-12 | Automatic log generation method and system for business flow development tool |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911099108.XA CN110928525A (en) | 2019-11-12 | 2019-11-12 | Automatic log generation method and system for business flow development tool |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110928525A true CN110928525A (en) | 2020-03-27 |
Family
ID=69852780
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911099108.XA Pending CN110928525A (en) | 2019-11-12 | 2019-11-12 | Automatic log generation method and system for business flow development tool |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110928525A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112330180A (en) * | 2020-11-17 | 2021-02-05 | 深圳市智象科技有限公司 | Automatic operating system with flexible configuration |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140109111A1 (en) * | 2012-10-11 | 2014-04-17 | Ittiam Systems (P) Ltd | Method and architecture for exception and event management in an embedded software system |
CN106600226A (en) * | 2016-12-13 | 2017-04-26 | 泰康保险集团股份有限公司 | Method and device used for optimizing flow management system |
CN109104327A (en) * | 2018-06-08 | 2018-12-28 | 阿里巴巴集团控股有限公司 | A kind of business diary generation method, device and equipment |
CN109669842A (en) * | 2018-12-27 | 2019-04-23 | 中国移动通信集团江苏有限公司 | Log call method, device, equipment and computer storage medium |
CN110286892A (en) * | 2019-06-26 | 2019-09-27 | 成都九洲电子信息系统股份有限公司 | A kind of quick exploitation automotive engine system based on business Process Design |
-
2019
- 2019-11-12 CN CN201911099108.XA patent/CN110928525A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140109111A1 (en) * | 2012-10-11 | 2014-04-17 | Ittiam Systems (P) Ltd | Method and architecture for exception and event management in an embedded software system |
CN106600226A (en) * | 2016-12-13 | 2017-04-26 | 泰康保险集团股份有限公司 | Method and device used for optimizing flow management system |
CN109104327A (en) * | 2018-06-08 | 2018-12-28 | 阿里巴巴集团控股有限公司 | A kind of business diary generation method, device and equipment |
CN109669842A (en) * | 2018-12-27 | 2019-04-23 | 中国移动通信集团江苏有限公司 | Log call method, device, equipment and computer storage medium |
CN110286892A (en) * | 2019-06-26 | 2019-09-27 | 成都九洲电子信息系统股份有限公司 | A kind of quick exploitation automotive engine system based on business Process Design |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112330180A (en) * | 2020-11-17 | 2021-02-05 | 深圳市智象科技有限公司 | Automatic operating system with flexible configuration |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109684053B (en) | Task scheduling method and system for big data | |
CN110286892B (en) | Rapid development engine system based on business process design | |
CN102332125A (en) | Workflow mining method based on subsequent tasks | |
CN107632845B (en) | Integrated knowledge cloud service method and system for multi-axis milling of runner blade | |
CN104778124A (en) | Automatic testing method for software application | |
US20200363781A1 (en) | A signal and event processing engine | |
Argyrou et al. | A data fusion system for controlling the execution status in human-robot collaborative cells | |
CN103197927B (en) | A kind of method that realizes of Workflow and system thereof | |
van der Sanden et al. | LSAT: Specification and analysis of product logistics in flexible manufacturing systems | |
CN110928525A (en) | Automatic log generation method and system for business flow development tool | |
CN113687927A (en) | Method, device, equipment and storage medium for scheduling and configuring flash tasks | |
CN109684229B (en) | Chain dependency analysis method and system of directed acyclic graph | |
CN115185489B (en) | Time sequence data algorithm configuration system and method | |
CN116400950A (en) | DevOps element pipeline system based on version control | |
CN118511163A (en) | Method for enhancing debugging capability of software program | |
Antonoaie et al. | ERP processes automation in corporate environments | |
CN115185899A (en) | Non-periodic real-time processing method for nuclear power plant time sequence data | |
CN113867714A (en) | Automatic code generation method adaptive to multiple languages | |
Merchant et al. | Tool for performance tuning and regression analyses of HPC systems and applications | |
CN116450305B (en) | SOAR platform assembly execution method and device based on distributed task scheduling | |
Berruet et al. | A component based approach for the design of FMS control and supervision | |
Chen et al. | Development of a cyber-physical-style continuous yield improvement system for manufacturing industry | |
CN112116270B (en) | Scientific computing service arrangement system based on heterogeneous computing resources | |
EP4455956A1 (en) | Workflow construction and monitoring method and system, and medium and program product | |
CN113407178A (en) | Cross-platform DevOps engine template method and system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200327 |
|
RJ01 | Rejection of invention patent application after publication |