CN114897296A - RPA flow labeling method, execution process playback method and storage medium - Google Patents
RPA flow labeling method, execution process playback method and storage medium Download PDFInfo
- Publication number
- CN114897296A CN114897296A CN202210338838.6A CN202210338838A CN114897296A CN 114897296 A CN114897296 A CN 114897296A CN 202210338838 A CN202210338838 A CN 202210338838A CN 114897296 A CN114897296 A CN 114897296A
- Authority
- CN
- China
- Prior art keywords
- rpa
- business
- flow chart
- rpa process
- execution
- 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
- 238000000034 method Methods 0.000 title claims abstract description 247
- 230000008569 process Effects 0.000 title claims abstract description 213
- 238000002372 labelling Methods 0.000 title claims abstract description 37
- 238000003860 storage Methods 0.000 title claims abstract description 14
- 238000013507 mapping Methods 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 13
- 238000003780 insertion Methods 0.000 claims description 8
- 230000037431 insertion Effects 0.000 claims description 8
- 238000011161 development Methods 0.000 claims description 5
- 230000001360 synchronised effect Effects 0.000 claims description 5
- 238000012549 training Methods 0.000 claims description 5
- 238000010801 machine learning Methods 0.000 claims description 3
- 238000003062 neural network model Methods 0.000 claims description 3
- 230000004044 response Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000007689 inspection Methods 0.000 description 3
- 238000011112 process operation Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0633—Workflow analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/74—Browsing; Visualisation therefor
- G06F16/743—Browsing; Visualisation therefor a collection of video files or sequences
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/78—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/7867—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title and artist information, manually generated time, location and usage information, user ratings
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Human Resources & Organizations (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Strategic Management (AREA)
- General Engineering & Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Multimedia (AREA)
- Software Systems (AREA)
- Economics (AREA)
- Computing Systems (AREA)
- Evolutionary Computation (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Mathematical Physics (AREA)
- Marketing (AREA)
- Databases & Information Systems (AREA)
- General Business, Economics & Management (AREA)
- Artificial Intelligence (AREA)
- Educational Administration (AREA)
- Life Sciences & Earth Sciences (AREA)
- Medical Informatics (AREA)
- Game Theory and Decision Science (AREA)
- Development Economics (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Library & Information Science (AREA)
- Debugging And Monitoring (AREA)
Abstract
本发明公开了一种RPA流程标注方法、执行过程回放方法及存储介质,标注方法包括:利用RPA流程标注模型在待标注的RPA流程中插入业务标签,生成含业务标签的RPA流程。执行过程回放方法包括:获取业务流程图和RPA流程图;通过RPA流程执行过程获取RPA流程的执行时间戳、屏幕录像和事件日志;将业务流程图、RPA流程图、屏幕录像和事件日志关联起来;根据执行时间戳同步播放关联后的业务流程图、RPA流程图、屏幕录像和事件日志。本发明为RPA流程增加了方便业务人员理解的业务标签,同时以一种直观、方便的形式展示了RPA流程的执行过程,降低了RPA流程的理解难度,提高流程回放的定位效率。
The invention discloses an RPA process labeling method, an execution process playback method and a storage medium. The labeling method includes: using an RPA process labeling model to insert a business label in an RPA process to be labelled, and generating an RPA process containing the business label. The execution process playback method includes: obtaining the business flow chart and the RPA flow chart; obtaining the execution time stamp, screen recording and event log of the RPA process through the RPA process execution process; associating the business flow chart, the RPA flow chart, the screen recording and the event log ; Play the associated business flow chart, RPA flow chart, screen recording and event log synchronously according to the execution time stamp. The present invention adds business labels that are convenient for business personnel to understand for the RPA process, and at the same time displays the execution process of the RPA process in an intuitive and convenient form, reduces the difficulty of understanding the RPA process, and improves the positioning efficiency of the process playback.
Description
技术领域technical field
本发明涉及一种RPA流程标注方法、执行过程回放方法及存储介质,属于RPA流程技术领域。The invention relates to an RPA process labeling method, an execution process playback method and a storage medium, belonging to the technical field of RPA process.
背景技术Background technique
RPA是一种自动化流程技术,开发者编写好RPA流程后计算机/机器人就可以自动重复执行这个流程,代替人工执行具体的操作。由于RPA高效、准确,使用RPA流程可以达到了节省人力、提高效率和员工满意度的目的,所以得到了广泛的应用。为了保证RPA流程执行的过程与开发者和业务人员的预期一致,开发者和业务人员需要在RPA流程编写完成后检查RPA的具体执行过程,确保执行过程和结果的准确性。RPA is an automated process technology. After the developer writes the RPA process, the computer/robot can automatically and repeatedly execute the process, instead of manually performing specific operations. Because RPA is efficient and accurate, the use of RPA process can achieve the purpose of saving manpower, improving efficiency and employee satisfaction, so it has been widely used. In order to ensure that the RPA process execution process is consistent with the expectations of developers and business personnel, developers and business personnel need to check the specific execution process of RPA after the RPA process is written to ensure the accuracy of the execution process and results.
一般检查RPA执行过程的方法是在RPA流程执行时记录完整的屏幕内容,再以视频回放的方式来查看。这种方式比较简单、直观,但是仍存在一些问题:1、在回放时存在难以定位具体流程的问题,当RPA流程的操作步骤非常多或非常复杂时,通过视频回放无法准确定位到画面对应的具体的执行步骤,可能存在漏执行步骤或多执行步骤的情况,不利于检查,当流程出错时,流程日志中会出现一些错误信息,但是无法快速的将这些错误信息与视频画面对应起来,无法更直观的理解错误情况;2、对检查人员的技术要求较高,当不具备编程能力的业务人员负责检查RPA执行过程时,业务人员很难直观的将视频画面与RPA流程步骤及其日志对应起来,难以顺利、准确的进行检查工作,而如果都让开发者进行检查操作,人工成本较高。The general way to check the RPA execution process is to record the complete screen content when the RPA process is executed, and then view it by video playback. This method is relatively simple and intuitive, but there are still some problems: 1. There is a problem that it is difficult to locate the specific process during playback. When the operation steps of the RPA process are very many or very complex, it is impossible to accurately locate the corresponding picture through video playback. For specific execution steps, there may be missing or multiple execution steps, which is not conducive to inspection. When there is an error in the process, some error messages will appear in the process log, but these error messages cannot be quickly matched with the video images. Understand the error situation more intuitively; 2. The technical requirements for inspectors are high. When business personnel without programming ability are responsible for inspecting the RPA execution process, it is difficult for business personnel to intuitively correspond the video screen to the RPA process steps and their logs. It is difficult to carry out the inspection work smoothly and accurately, and if the developers are all allowed to perform the inspection operation, the labor cost is high.
发明内容SUMMARY OF THE INVENTION
针对现有技术中RPA执行过程回放方法不方便定位和难理解的问题,本发明提出了一种RPA流程标注方法、执行过程回放方法及存储介质,在RPA流程中插入方便理解的业务标签,通过完全同步的屏幕录像、RPA流程图、业务流程图和事件日志实现RPA流程执行过程回放,方便在回放过程中分析具体流程步骤并定位错误,同时通过业务流程图方便业务人员理解RPA流程,降低检查RPA流程执行过程的技术要求。Aiming at the problems of inconvenient positioning and incomprehension of the RPA execution process playback method in the prior art, the present invention proposes an RPA process labeling method, an execution process playback method and a storage medium. Fully synchronized screen recordings, RPA flowcharts, business flowcharts and event logs realize the playback of the RPA process execution process, which is convenient for analyzing specific process steps and locating errors during the playback process. Technical requirements for the RPA process execution process.
为解决上述技术问题,本发明采用了如下技术手段:In order to solve the above-mentioned technical problems, the present invention adopts the following technical means:
第一方面,本发明提出了一种用于RPA流程的标注方法,包括如下步骤:In the first aspect, the present invention proposes a labeling method for the RPA process, comprising the following steps:
获取待标注的RPA流程;Obtain the RPA process to be marked;
利用训练好的RPA流程标注模型在待标注的RPA流程中插入业务标签,生成含业务标签的RPA流程;Use the trained RPA process labeling model to insert business labels into the RPA process to be labeled to generate an RPA process with business labels;
其中,所述RPA流程标注模型采用基于机器学习算法的神经网络模型。Wherein, the RPA process labeling model adopts a neural network model based on a machine learning algorithm.
结合第一方面,进一步的,RPA流程标注模型的训练方法为:Combined with the first aspect, further, the training method of the RPA process annotation model is:
获取多组含有人工标注的业务标签的RPA流程,构成标注数据集;Obtain multiple sets of RPA processes containing manually-labeled business labels to form labeling datasets;
利用标注数据集对RPA流程标注模型进行训练,得到训练好的RPA流程标注模型。The RPA process annotation model is trained by using the annotation dataset, and the trained RPA process annotation model is obtained.
结合第一方面,进一步的,一个业务标签与RPA流程中的一个步骤或多个步骤存在映射关系,业务标签插入到其映射的一个步骤或多个步骤之前。With reference to the first aspect, further, there is a mapping relationship between a service tag and one or more steps in the RPA process, and the service tag is inserted before one or more steps of the mapping.
结合第一方面,进一步的,业务标签包括标签编号、标签插入位置、业务信息;业务标签不可执行,且不会对RPA流程的执行产生影响。In combination with the first aspect, further, the service tag includes tag number, tag insertion position, and service information; the service tag is not executable and will not affect the execution of the RPA process.
第二方面,本发明提出了一种RPA流程执行过程回放方法,包括如下步骤:In a second aspect, the present invention proposes a method for replaying an RPA process execution process, comprising the following steps:
通过第一方面所述标注方法为RPA流程插入业务标签;Insert a business label into the RPA process by using the labeling method described in the first aspect;
根据RPA流程及其业务标签,得到存在映射关系的RPA流程图和业务流程图;According to the RPA process and its business label, obtain the RPA flow chart and business flow chart with the mapping relationship;
通过RPA流程执行过程获得RPA流程的执行时间戳、屏幕录像和事件日志;Obtain the execution timestamp, screen recording and event log of the RPA process through the RPA process execution process;
根据执行时间戳、RPA流程图和业务流程图的映射关系,将业务流程图、RPA流程图、屏幕录像和事件日志在时间轴上关联起来;According to the mapping relationship between execution timestamp, RPA flow chart and business flow chart, associate business flow chart, RPA flow chart, screen recording and event log on the timeline;
根据执行时间戳同步播放关联后的业务流程图、RPA流程图、屏幕录像和事件日志。Play the associated business flow chart, RPA flow chart, screen recording and event log synchronously according to the execution time stamp.
结合第二方面,进一步的,利用业务标签作为节点组成业务流程图,利用RPA流程的每个步骤作为节点组成RPA流程图;业务流程图和屏幕录像在业务模式页面内播放,RPA流程图、屏幕录像和事件日志在开发模式页面播放。Combined with the second aspect, further, use the service tag as a node to form a business flow chart, and use each step of the RPA process as a node to form an RPA flow chart; the business flow chart and screen recording are played in the business mode page, and the RPA flow chart and screen Recordings and event logs are played on the development mode page.
结合第二方面,进一步的,在同步播放过程中,响应于播放跳转命令,获取跳转后的目标时间,将业务流程图、RPA流程图、屏幕录像和事件日志的播放画面均跳转至目标时间,并高亮显示业务流程图、RPA流程图和事件日志在目标时间的内容。Combined with the second aspect, further, in the synchronous playback process, in response to the playback jump command, the target time after the jump is obtained, and the playback pictures of the business flow chart, the RPA flow chart, the screen recording and the event log are all jumped to. target time, and highlight the content of business process diagrams, RPA process diagrams, and event logs at the target time.
结合第二方面,进一步的,所述播放跳转命令包括基于播放进度条的播放跳转命令和基于关键词检索的播放跳转命令,其中,关键词包括业务流程关键词、RPA流程关键词和事件日志关键词。In conjunction with the second aspect, further, the playback jump command includes a playback jump command based on a playback progress bar and a playback jump command based on keyword retrieval, wherein the keywords include business process keywords, RPA process keywords and Event log keyword.
第三方面,本发明提出了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本发明第一方面所述方法的步骤。In a third aspect, the present invention provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the steps of the method described in the first aspect of the present invention.
第四方面,本发明提出了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本发明第二方面所述方法的步骤。In a fourth aspect, the present invention provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the steps of the method described in the second aspect of the present invention.
采用以上技术手段后可以获得以下优势:After adopting the above technical means, the following advantages can be obtained:
本发明提出了一种RPA流程标注方法、执行过程回放方法及存储介质,首先,通过RPA流程标注方法为RPA流程插入业务标签,将RPA流程中的一个或多个步骤上位概括成一个业务标签,降低了流程复杂度,同时业务标签信息比较简单易懂,方便业务人员理解RPA流程的操作过程,降低了RPA流程的理解难度。其次,根据含业务标签的RPA流程,将RPA流程执行过程的屏幕录像、事件日志与RPA流程图和业务流程图同步起来后进行回放,不仅可以方便、直观的查看RPA流程执行每一步时屏幕上的画面,还能够同时查看与屏幕画面对应的事件日志、RPA流程步骤和上位概括的业务步骤,提高流程回放的定位效率,有利于在回放时准确的分析问题、定位错误。最后,本发明针对开发者和业务人员的不同需求提供了2种回放模式,在业务回放模式下,用简化了的业务流程图展示RPA流程内容,能够方便业务人员理解RPA流程,降低检查RPA流程执行过程的技术要求,进而降低了检查RPA执行过程的人工成本。The present invention provides an RPA process labeling method, an execution process playback method and a storage medium. First, a service label is inserted into the RPA process through the RPA process labeling method, and one or more steps in the RPA process are summarized into a service label. The complexity of the process is reduced, and the business label information is relatively simple and easy to understand, which is convenient for business personnel to understand the operation process of the RPA process and reduces the difficulty of understanding the RPA process. Secondly, according to the RPA process with business tags, the screen recording and event log of the RPA process execution process are synchronized with the RPA flow chart and business flow chart and then played back, which can not only conveniently and intuitively view the screen when each step of the RPA process is executed. It can also view the event log, RPA process steps and business steps summarized by the upper level corresponding to the screen image at the same time, which improves the positioning efficiency of process playback and is conducive to accurate analysis of problems and positioning errors during playback. Finally, the present invention provides two playback modes according to the different needs of developers and business personnel. In the business playback mode, a simplified business flow chart is used to display the content of the RPA process, which can facilitate business personnel to understand the RPA process and reduce the need to check the RPA process. The technical requirements of the execution process, in turn, reduce the labor cost of checking the RPA execution process.
此外,本发明还可以通过拖拽视频进度条或日志搜索改变回放的内容,根据用户需求快速定位RPA流程的执行过程,进一步简化了RPA流程执行过程回放操作,提高了RPA流程的使用效率。In addition, the present invention can also change the playback content by dragging the video progress bar or log search, quickly locate the execution process of the RPA process according to user requirements, further simplify the playback operation of the RPA process execution process, and improve the use efficiency of the RPA process.
附图说明Description of drawings
图1为本发明一种用于RPA流程的标注方法的步骤流程图;Fig. 1 is the step flow chart of a kind of labeling method for RPA process of the present invention;
图2为本发明一种RPA流程执行过程回放方法的步骤流程图;Fig. 2 is the step flow chart of a kind of RPA process execution process playback method of the present invention;
图3为本发明实施例中业务模式页面下的回放示意图;Fig. 3 is the playback schematic diagram under the business mode page in the embodiment of the present invention;
图4为本发明实施例中业务模式页面下调整业务流程图显示大小的示意图;4 is a schematic diagram of adjusting the display size of a business flow chart on a business mode page in an embodiment of the present invention;
图5为本发明实施例中开发模式页面下的回放示意图。FIG. 5 is a schematic diagram of playback under a development mode page in an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图对本发明的技术方案作进一步说明:Below in conjunction with accompanying drawing, technical scheme of the present invention is further described:
实施例1:Example 1:
本发明提出了一种用于RPA流程的标注方法,如图1所示,具体包括如下步骤:The present invention proposes a labeling method for the RPA process, as shown in Figure 1, which specifically includes the following steps:
步骤1、建立并训练RPA流程标注模型。
在本发明实施例中,RPA流程标注模型采用基于机器学习算法的神经网络模型,具体可以采用序列标注模型LSTM+CRF。训练RPA流程标注模型的具体步骤为:In the embodiment of the present invention, the RPA process labeling model adopts a neural network model based on a machine learning algorithm, and specifically, a sequence labeling model LSTM+CRF may be used. The specific steps for training the RPA process annotation model are:
步骤101、获取多组含有人工标注的业务标签的RPA流程,构成标注数据集,标注数据集又包括训练集、测试集和验证集。Step 101: Obtain multiple sets of RPA processes containing manually labeled business labels to form a labeled data set, and the labeled data set includes a training set, a test set, and a verification set.
在本发明实施例中,业务标签可以直接插入到编写好的RPA流程中,具体插入在RPA流程的步骤之间,成为RPA流程中的一条信息。每个业务标签可以概括RPA流程中的一个或多个步骤,即一个业务标签与RPA流程中的一个步骤或多个步骤存在映射关系。每个业务标签插入到其映射的一个步骤或多个步骤之前,因此,两个业务标签之间的RPA流程步骤与位置靠前的业务标签相关联,业务标签插入后向后查找对应的RPA流程操作步骤。在标注训练集中,业务流程的插入位置是由业务人员根据业务内容确定的。In the embodiment of the present invention, the service tag can be directly inserted into the prepared RPA process, specifically inserted between the steps of the RPA process, and becomes a piece of information in the RPA process. Each business label can summarize one or more steps in the RPA process, that is, a business label has a mapping relationship with one or more steps in the RPA process. Each business label is inserted before one or more steps of its mapping. Therefore, the RPA process step between two business labels is associated with the business label at the front. After the business label is inserted, the corresponding RPA process is searched backwards. Steps. In the annotation training set, the insertion position of the business process is determined by the business personnel according to the business content.
业务标签主要包括标签编号、标签插入位置、业务信息。其中,标签编号用来区分不同的业务标签,并标注多个业务标签的先后顺序;标签插入位置指该业务标签插入到RPA流程中的具体位置,由于标签插入位置与标签映射关系有关,所以标签插入位置还可以表示该业务标签与RPA流程步骤的关系;业务信息是业务标签插入并显示在RPA流程中的信息,业务信息通常是容易理解的文字内容,比如“开始”、“提交订单”、“确认订单”、“结束”等。除了有具体含义的业务标签之外,还存在一个默认业务标签,用“O”表示,代表这一段操作不属于任何业务。The business label mainly includes label number, label insertion position, and business information. Among them, the label number is used to distinguish different business labels and mark the sequence of multiple business labels; the label insertion position refers to the specific position where the business label is inserted into the RPA process. Since the label insertion position is related to the label mapping relationship, the label insertion position The insertion position can also indicate the relationship between the business label and the RPA process steps; business information is the information inserted by the business label and displayed in the RPA process. "Confirm order", "End", etc. In addition to the business label with specific meaning, there is also a default business label, which is represented by "O", which means that this operation does not belong to any business.
在本发明实施例中,RPA流程中具体的操作步骤,在执行时可有变化,还包含有时间戳,业务标签是一个空操作,不可以执行,不会对RPA流程的执行产生任何影响,业务标签主要在RPA流程执行过程回放时使用。In the embodiment of the present invention, the specific operation steps in the RPA process may change during execution, and also include a time stamp. The service tag is an empty operation, which cannot be executed, and will not have any impact on the execution of the RPA process. The business tag is mainly used during the playback of the RPA process execution process.
步骤102、将标注数据集中的每一个RPA流程转换成序列标注数据。Step 102: Convert each RPA process in the labeled data set into sequence labeled data.
原始的RPA流程操作步骤用json来表示,通过一个固定的映射将RPA流程操作步骤转换为编号,进而组成一个序列。最简单的编号映射方式是从RPA流程中选择多个字段,然后判断多个字段是否属于同一事件,如果属于同一事件,则将多个字段映射到同一个编号,并记录下RPA流程字段与编号的映射关系,以便后续进行RPA流程还原。假设一个RPA流程包括:action=’click’, name=’submit’, parent=’window_xxx’, xpath=’ //div/p/a’,选择三个字段:action, name, xpath,若它们三个值一致,则映射到一个编号s1。同时,业务标签也可以用编号表示,编号可以直接沿用业务标签的标签编号。The original RPA process operation steps are represented by json, and the RPA process operation steps are converted into numbers through a fixed mapping to form a sequence. The simplest number mapping method is to select multiple fields from the RPA process, and then determine whether multiple fields belong to the same event. If they belong to the same event, map multiple fields to the same number, and record the RPA process field and number. The mapping relationship for subsequent RPA process restoration. Suppose an RPA process includes: action='click', name='submit', parent='window_xxx', xpath=' //div/p/a', select three fields: action, name, xpath, if they are three If the values are the same, they are mapped to a number s1. At the same time, the business label can also be represented by a number, and the number can directly follow the label number of the business label.
假设RPA流程的序列数据为:s1, s2, s3, s4, s5, s4, s6,则人工标注业务标签后的RPA流程的序列标注数据为:<t1>s1, s2, <t2>, s3, s4, s5, <t3>, s4, s6,可表示为:<s1, t1>, <s2, t1>, <s3, t2>, <s4, t2>, <s5, t2>, <s4, t3>, <s6, t3> ,其中,<t1>、<t2>、<t3>即为业务标签在序列标注数据中的编号,业务标签<t1>概括了操作s1和s2,业务标签<t2>概括了操作s3、s4和s5,业务标签<t3>概括了操作s4和s6。Assuming that the sequence data of the RPA process is: s1, s2, s3, s4, s5, s4, s6, the sequence labeling data of the RPA process after manually labeling the business label is: <t1>s1, s2, <t2>, s3, s4, s5, <t3>, s4, s6, can be expressed as: <s1, t1>, <s2, t1>, <s3, t2>, <s4, t2>, <s5, t2>, <s4, t3 >, <s6, t3> , where <t1>, <t2>, and <t3> are the numbers of the business tags in the sequence annotation data. The business tag <t1> summarizes the operations s1 and s2, and the business tag <t2> Operations s3, s4, and s5 are summarized, and the business tag <t3> summarizes operations s4 and s6.
步骤103、利用步骤102转换的序列标注数据对RPA流程标注模型进行训练,不断更新模型参数,直到得到训练好的RPA流程标注模型。RPA流程标注模型的输入是RPA流程的序列数据,比如,s1, s3, s4, s5,RPA流程标注模型的输出是为每个操作增加一个标签后的序列,比如,<s1, t1>, <s3, t2>, <s4, t2>, <s5, t2>,将模型预测结果与人工标注业务标签后的RPA流程的序列标注数据比较,即可实现模型自动学习。Step 103: Use the sequence labeling data converted in step 102 to train the RPA process labeling model, and continuously update the model parameters until the trained RPA process labeling model is obtained. The input of the RPA process annotation model is the sequence data of the RPA process, for example, s1, s3, s4, s5, and the output of the RPA process annotation model is the sequence after adding a label to each operation, for example, <s1, t1>, < s3, t2>, <s4, t2>, <s5, t2>, compare the model prediction results with the sequence labeling data of the RPA process after manually labeling the business label, and then the model can learn automatically.
步骤2、获取待标注的RPA流程,待标注的RPA流程中只有开发者编写的操作步骤,不存在业务标签。Step 2. Obtain the RPA process to be labeled. The RPA process to be labeled has only the operation steps written by the developer, and there is no business label.
步骤3、利用训练好的RPA流程标注模型在待标注的RPA流程中插入业务标签,生成含业务标签的RPA流程。具体的,先将待标注的RPA流程转换成序列数据,同时记录下序列数据中编号与RPA流程操作步骤之间的映射关系,然后将序列数据输入RPA流程标注模型进行标注,得到RPA流程标注模型的输出的序列标注数据,最后根据序列标注数据中的编号与RP流程操作步骤或业务标签之间的映射关系,将序列标注数据转换成含业务标签的RPA流程。Step 3. Use the trained RPA process labeling model to insert business labels into the RPA process to be labelled to generate an RPA process with business labels. Specifically, the RPA process to be labeled is first converted into sequence data, and the mapping relationship between the serial number in the sequence data and the operation steps of the RPA process is recorded, and then the sequence data is input into the RPA process annotation model for annotation, and the RPA process annotation model is obtained. Finally, according to the mapping relationship between the serial number in the sequence annotation data and the RP process operation steps or business tags, the sequence annotation data is converted into an RPA process with business tags.
实施例2:Example 2:
本发明提出了一种RPA流程执行过程回放方法,如图2所示,具体包括如下步骤:The present invention proposes an RPA process execution process playback method, as shown in Figure 2, which specifically includes the following steps:
步骤1、获取一个RPA流程,通过实施例1中的标注方法为RPA流程插入业务标签。安装RPA流程执行程序、屏幕录制器和日志录制器等。
步骤2、根据RPA流程及其业务标签,得到存在映射关系的RPA流程图和业务流程图。Step 2, according to the RPA process and its business label, obtain the RPA flow chart and the business flow chart with the mapping relationship.
利用业务标签作为节点组成业务流程图,具体的,利用业务标签中的业务信息作为业务流程图中的步骤内容。利用RPA流程的每个步骤作为节点组成RPA流程图,RPA流程图中的步骤内容就是编程人员编辑的内容。由于业务标签是对RPA流程中一个或多个步骤的概括,且业务信息属于容易理解的文字内容,所以业务流程图的步骤比RPA流程图更少,且更好理解。The service flow chart is formed by using the service label as a node, and specifically, the service information in the service label is used as the step content in the service flow chart. Each step of the RPA process is used as a node to form an RPA flowchart, and the content of the steps in the RPA flowchart is the content edited by the programmer. Since the business label is a summary of one or more steps in the RPA process, and the business information belongs to the text content that is easy to understand, the business flow diagram has fewer steps and better understanding than the RPA flow diagram.
步骤3、通过RPA流程执行过程获得RPA流程的执行时间戳、屏幕录像和事件日志。Step 3. Obtain the execution time stamp, screen recording and event log of the RPA process through the RPA process execution process.
调用RPA流程执行程序,运行RPA流程,同时启动屏幕录制器和日志录制器,RPA流程执行程序运行时,自动记录RPA流程中每一个步骤的开始和结束时间,生成RPA流程执行数据,RPA流程执行数据可以表示为<timestamp, step, rect>,其中,timestamp为时间戳,step为流程中的对应步骤的ID,rect为流程图中对应步骤所在的方框,从RPA流程执行数据中得到与RPA流程步骤对应的执行时间戳;利用屏幕录制器自动录制屏幕内容,由于屏幕录制器与RPA流程执行程序是同步开始运行的,所以可以生成与执行时间戳对应的屏幕录像,屏幕录像数据可以表示为<timestamp, frame>,其中,frame为视频帧;利用日志录制器记录RPA流程执行过程中所有发生的事件,且每个事件都包含时间戳,事件日志数据可以表示为<timestamp, line>,其中,line为事件行,每个事件可以有多行,每行都带有时间戳。Call the RPA process executor, run the RPA process, and start the screen recorder and log recorder at the same time. When the RPA process executor runs, it automatically records the start and end time of each step in the RPA process, generates RPA process execution data, and executes the RPA process. The data can be represented as <timestamp, step, rect>, where timestamp is the timestamp, step is the ID of the corresponding step in the process, rect is the box where the corresponding step in the flowchart is located, and the RPA process execution data is obtained from the RPA process execution data. The execution time stamp corresponding to the process step; the screen recorder is used to automatically record the screen content. Since the screen recorder and the RPA process execution program start running synchronously, a screen recording corresponding to the execution time stamp can be generated, and the screen recording data can be expressed as <timestamp, frame>, where frame is a video frame; the log recorder is used to record all events that occur during the execution of the RPA process, and each event contains a timestamp, and the event log data can be represented as <timestamp, line>, where , line is the event line, each event can have multiple lines, and each line has a timestamp.
步骤4、根据执行时间戳、RPA流程图和业务流程图的映射关系,将业务流程图、RPA流程图、屏幕录像和事件日志在时间轴上关联起来。
由于业务标签与RPA流程存在映射关系,且执行时间戳记录了每个步骤的开始和结束时间,所以可以根据每个业务标签映射的一个或多个步骤确定每个业务标签对应的开始和结束时间,同时屏幕录像和事件日志中也存在时间,所以本发明可以通过执行时间戳将所有信息关联起来,Since there is a mapping relationship between service tags and RPA processes, and the execution timestamp records the start and end time of each step, the corresponding start and end times of each service tag can be determined according to one or more steps mapped to each service tag. , and there is also time in the screen recording and event log, so the present invention can associate all the information by executing the time stamp,
步骤5、加载播放器,根据执行时间戳同步播放关联后的业务流程图、RPA流程图、屏幕录像和事件日志。Step 5. Load the player, and synchronously play the associated business flow chart, RPA flow chart, screen recording and event log according to the execution time stamp.
播放器页面如图3~5所示,业务流程图和屏幕录像在业务模式页面内播放,RPA流程图、屏幕录像和事件日志在开发模式页面播放。在默认情况下,播放器页面的左边一栏是当前RPA流程的一般信息,包括操作人、操作开始、结束时间,步骤数等信息;播放器页面的主窗口在业务模式页面下包括两个部分,正中间是屏幕录像,右下角是业务流程图的动画;播放器页面的主窗口在开发模式页面下包括三个部分,正中间是当前操作对应的事件日志,右上角是屏幕录像,右下角是RPA流程图的动画;播放器页面的最底部是播放控制器,可以同时控制日志高亮显示、屏幕录像、流程图动画的播放进度。在本发明中,用户可以根据需求随意切换回放模式,且可以根据需求调节页面内各个窗口的位置和大小。The player page is shown in Figures 3-5. The business flow chart and screen recording are played in the business mode page, and the RPA flow chart, screen recording and event log are played in the development mode page. By default, the left column of the player page is the general information of the current RPA process, including the operator, operation start, end time, number of steps and other information; the main window of the player page includes two parts under the business model page , the middle is the screen recording, the lower right corner is the animation of the business flow chart; the main window of the player page includes three parts under the development mode page, the middle is the event log corresponding to the current operation, the upper right corner is the screen recording, the lower right corner is It is the animation of the RPA flowchart; the bottom of the player page is the playback controller, which can control the playback progress of log highlighting, screen recording, and flowchart animation at the same time. In the present invention, the user can freely switch the playback mode according to the requirements, and can adjust the position and size of each window in the page according to the requirements.
在同步播放过程中,同时推进流程图动画和事件日志的高亮显示,此外,为了方便用户查看RPA流程执行过程,用户可以通过播放跳转命令跳转播放进度。响应于播放跳转命令,获取跳转后的目标时间,将业务流程图、RPA流程图、屏幕录像和事件日志的播放画面均跳转至目标时间,并高亮显示业务流程图、RPA流程图和事件日志在目标时间的内容。播放跳转命令包括基于播放进度条的播放跳转命令(即用户直接拖拽进度条来进行跳转)和基于关键词检索的播放跳转命令(即用户在页面内输入关键词进行检索后根据检索结构跳转),其中,关键词包括业务流程关键词、RPA流程关键词和事件日志关键词等内容。During the synchronous playback process, the flow chart animation and the highlight display of the event log are simultaneously promoted. In addition, in order to facilitate the user to view the execution process of the RPA process, the user can skip the playback progress through the playback jump command. In response to the playback jump command, obtain the target time after the jump, jump the playback screens of the business flow chart, RPA flow chart, screen recording and event log to the target time, and highlight the business flow chart and RPA flow chart and the contents of the event log at the target time. The playback jump command includes the playback jump command based on the playback progress bar (that is, the user directly drags the progress bar to jump) and the playback jump command based on keyword retrieval (that is, the user enters a keyword in the page for retrieval, and then Search structure jump), where the keywords include business process keywords, RPA process keywords, and event log keywords.
实施例3:Example 3:
本发明还提出了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现实施例1中RPA流程标注方法的步骤。The present invention also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the steps of the RPA process labeling method in
实施例4:Example 4:
本发明还提出了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现实施例2中RPA流程执行过程回放方法的步骤。The present invention also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the steps of the RPA process execution process playback method in Embodiment 2.
与现有技术相比,本发明标注方法可以在RPA流程中插入业务标签,降低了流程复杂度,同时业务标签信息比较简单易懂,方便业务人员理解RPA流程的操作过程,降低了RPA流程的理解难度。本发明回放方法在录制并回放RPA执行过程的屏幕录像的基础上,增加了RPA流程图、业务流程图、事件日志,并对上述数据进行同步,方便在回放执行过程时理解视频画面对应的具体步骤和日志信息,提高流程步骤的定位效率,方便分析问题、定位错误,同时通过业务流程图降低检查RPA流程执行过程的技术要求,进而降低了检查RPA执行过程的人工成本。此外,本发明还可以通过拖拽视频进度条或日志搜索改变回放的内容,根据用户需求快速定位RPA流程的执行过程,进一步简化了RPA流程执行过程回放操作,提高了RPA流程的使用效率。Compared with the prior art, the labeling method of the present invention can insert a business label into the RPA process, thereby reducing the complexity of the process, and at the same time, the business label information is relatively simple and easy to understand, which is convenient for business personnel to understand the operation process of the RPA process, and reduces the complexity of the RPA process. Difficulty of understanding. The playback method of the present invention adds RPA flow chart, business flow chart and event log on the basis of recording and playing back the screen recording of the RPA execution process, and synchronizes the above data, so as to facilitate the understanding of the specific details corresponding to the video picture when the playback execution process is performed. Steps and log information can improve the positioning efficiency of process steps, facilitate analysis of problems, and locate errors. At the same time, the technical requirements for checking the execution of the RPA process are reduced through the business flow chart, thereby reducing the labor cost of checking the execution of the RPA process. In addition, the present invention can also change the playback content by dragging the video progress bar or log search, quickly locate the execution process of the RPA process according to user requirements, further simplify the playback operation of the RPA process execution process, and improve the use efficiency of the RPA process.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowcharts and/or block diagrams, and combinations of flows and/or blocks in the flowcharts and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in one or more of the flowcharts and/or one or more blocks of the block diagrams.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions An apparatus implements the functions specified in a flow or flows of the flowcharts and/or a block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in one or more of the flowcharts and/or one or more blocks of the block diagrams.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明技术原理的前提下,还可以做出若干改进和变形,这些改进和变形也应视为本发明的保护范围。The above are only the preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the technical principle of the present invention, several improvements and modifications can also be made. These improvements and modifications It should also be regarded as the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210338838.6A CN114897296A (en) | 2022-04-01 | 2022-04-01 | RPA flow labeling method, execution process playback method and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210338838.6A CN114897296A (en) | 2022-04-01 | 2022-04-01 | RPA flow labeling method, execution process playback method and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114897296A true CN114897296A (en) | 2022-08-12 |
Family
ID=82716275
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210338838.6A Pending CN114897296A (en) | 2022-04-01 | 2022-04-01 | RPA flow labeling method, execution process playback method and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114897296A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115345600A (en) * | 2022-10-13 | 2022-11-15 | 天聚地合(苏州)科技股份有限公司 | RPA flow generation method and device |
CN117390090A (en) * | 2023-12-11 | 2024-01-12 | 安徽思高智能科技有限公司 | RPA process mining method, storage medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020233037A1 (en) * | 2019-05-20 | 2020-11-26 | 深圳壹账通智能科技有限公司 | Data processing method and apparatus, and storage medium |
CN112070487A (en) * | 2019-12-31 | 2020-12-11 | 北京来也网络科技有限公司 | AI-based RPA process generation method, apparatus, device and medium |
CN113255614A (en) * | 2021-07-06 | 2021-08-13 | 杭州实在智能科技有限公司 | RPA flow automatic generation method and system based on video analysis |
-
2022
- 2022-04-01 CN CN202210338838.6A patent/CN114897296A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020233037A1 (en) * | 2019-05-20 | 2020-11-26 | 深圳壹账通智能科技有限公司 | Data processing method and apparatus, and storage medium |
CN112070487A (en) * | 2019-12-31 | 2020-12-11 | 北京来也网络科技有限公司 | AI-based RPA process generation method, apparatus, device and medium |
CN113255614A (en) * | 2021-07-06 | 2021-08-13 | 杭州实在智能科技有限公司 | RPA flow automatic generation method and system based on video analysis |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115345600A (en) * | 2022-10-13 | 2022-11-15 | 天聚地合(苏州)科技股份有限公司 | RPA flow generation method and device |
CN117390090A (en) * | 2023-12-11 | 2024-01-12 | 安徽思高智能科技有限公司 | RPA process mining method, storage medium and electronic equipment |
CN117390090B (en) * | 2023-12-11 | 2024-04-12 | 安徽思高智能科技有限公司 | RPA process mining method, storage medium, and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8214805B2 (en) | Method and system for graphical user interface testing | |
US8909024B2 (en) | Methods and apparatus for tutorial video enhancement | |
Chi et al. | MixT: automatic generation of step-by-step mixed media tutorials | |
TWI509409B (en) | Methods and systems for viewing log data recorded during execution of a program | |
US9448908B2 (en) | System and method for model based session management | |
US10409564B2 (en) | Recording and playback of development sessions | |
US8225140B2 (en) | Method and system for graphical user interface testing | |
JP2010529566A5 (en) | ||
US20100175050A1 (en) | Method and system to automatically generate gui object addressing queries | |
US20080256448A1 (en) | Multi-Frame Video Display Method and Apparatus | |
CN114897296A (en) | RPA flow labeling method, execution process playback method and storage medium | |
CN113448845A (en) | UI automation test method and system | |
JP2008219920A (en) | Editing system for audiovisual work and corresponding text for television news | |
CN111930975A (en) | Ship navigation data playback and analysis system and method | |
CN111626022B (en) | Online education question generation method and device, electronic equipment and storage medium | |
JPH04233030A (en) | Display method and device | |
JPH03252812A (en) | Program executing state display method | |
CN114816391B (en) | A component rendering method and device | |
US12161942B2 (en) | Videogame telemetry data and game asset tracker for session recordings | |
US8255876B2 (en) | Execution difference identification tool | |
US20150128048A1 (en) | Automated multimedia content editing | |
Feng et al. | GIFdroid: an automated light-weight tool for replaying visual bug reports | |
US9405664B2 (en) | Automating software testing | |
CN114490285A (en) | A playback system and method of RPA process execution process | |
WO2007118271A1 (en) | A method and system and product for conditioning software |
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 |