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 PDF

Info

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
Application number
CN201911099108.XA
Other languages
Chinese (zh)
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.)
CITIC Aibank Corp Ltd
Original Assignee
CITIC Aibank Corp 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 CITIC Aibank Corp Ltd filed Critical CITIC Aibank Corp Ltd
Priority to CN201911099108.XA priority Critical patent/CN110928525A/en
Publication of CN110928525A publication Critical patent/CN110928525A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/10Requirements analysis; Specification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording 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/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • 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

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

Automatic log generation method and system for business flow development tool
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.
CN201911099108.XA 2019-11-12 2019-11-12 Automatic log generation method and system for business flow development tool Pending CN110928525A (en)

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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112330180A (en) * 2020-11-17 2021-02-05 深圳市智象科技有限公司 Automatic operating system with flexible configuration

Citations (5)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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
US11307548B2 (en) Signal and event processing engine
CN111625230A (en) System for unifying front-end JavaScript coding specifications
CN111919183A (en) Method for scheduling semiconductor backend factory
Argyrou et al. A data fusion system for controlling the execution status in human-robot collaborative cells
van der Sanden et al. LSAT: Specification and analysis of product logistics in flexible manufacturing systems
Svensson et al. P-SOP–A multi-agent based control approach for flexible and robust manufacturing
CN110928525A (en) Automatic log generation method and system for business flow development tool
CN103197927B (en) A kind of method that realizes of Workflow and system thereof
CN112148926A (en) Graph data stream processing method, processing device and storage medium
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
CN115185899A (en) Non-periodic real-time processing method for nuclear power plant time sequence data
Merchant et al. Tool for performance tuning and regression analyses of HPC systems and applications
CN113687927A (en) Method, device, equipment and storage medium for scheduling and configuring flash tasks
Maurer et al. eFMEA—Raising Efficiency of FMEA by Matrix-Based Function and Failure Networks
CN113407178B (en) Cross-platform DevOps engine template method and system
Berruet et al. A component based approach for the design of FMS control and supervision
Hendriks et al. Visualization, transformation, and analysis of execution traces with the eclipse TRACE4CPS trace tool
Chen et al. Development of a cyber-physical-style continuous yield improvement system for manufacturing industry
CN116450305A (en) SOAR platform assembly execution method and device based on distributed task scheduling

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