Task management method, device and storage medium for RPA robot

文档序号:67388 发布日期:2021-10-01 浏览:33次 中文

阅读说明:本技术 一种rpa机器人的任务管理方法、设备和存储介质 (Task management method, device and storage medium for RPA robot ) 是由 陈建中 陈文洁 聂俊胜 李宇胜 林小芬 于 2021-07-06 设计创作,主要内容包括:本发明涉及一种RPA机器人的任务管理方法、设备和存储介质,其中方法包括以下步骤:任务发起方向RPA控制器发起RPA任务请求,所述RPA任务请求包括RPA任务信息及任务发起方信息;RPA控制器对RPA任务请求进行校验,校验通过则对所述RPA任务信息及任务发起方信息进行加密并存储;RPA控制器根据预设的匹配规则匹配最适合处于闲置状态的RPA机器人或RPA机器人群组执行RPA任务;RPA机器人或RPA机器人群组执行RPA任务并反馈RPA任务状态信息至RPA控制器,PRA控制器按照预定的时间间隔和轮询策略对所有保存在RPA控制器中的RPA任务进行状态更新。(The invention relates to a task management method, equipment and a storage medium of an RPA robot, wherein the method comprises the following steps: a task initiator (RPA) controller initiates an RPA task request, wherein the RPA task request comprises RPA task information and task initiator information; the RPA controller checks the RPA task request, and encrypts and stores the RPA task information and the task initiator information if the check is passed; the RPA controller matches the RPA robot or the RPA robot group which is most suitable for being in an idle state according to a preset matching rule to execute the RPA task; and the RPA robot or the RPA robot group executes the RPA task and feeds back the state information of the RPA task to the RPA controller, and the PRA controller updates the state of all the RPA tasks stored in the RPA controller according to a preset time interval and a polling strategy.)

1. A task management method of an RPA robot is characterized by comprising the following steps:

a task initiator (RPA) controller initiates an RPA task request, wherein the RPA task request comprises RPA task information and task initiator information;

the RPA controller checks the RPA task request, and encrypts and stores the RPA task information and the task initiator information if the check is passed;

the RPA controller identifies RPA task characteristics according to the RPA task information and the task initiator information, acquires an RPA robot or an RPA robot group with an optimal matching result and in an idle state according to a preset matching rule and the RPA task characteristics, and assigns the RPA task to the RPA robot or the RPA robot group with the optimal matching result and in the idle state for execution;

and the RPA robot or the RPA robot group executes the RPA task and feeds back the state information of the RPA task to the RPA controller, and the PRA controller updates the state of all the RPA tasks stored in the RPA controller according to a preset time interval and a polling strategy.

2. The task management method of an RPA robot according to claim 1, characterized in that:

the RPA task information comprises an RPA task type, an RPA task identifier and an RPA task starting parameter; the task initiator information comprises an RPA task initiator type and an RPA task initiator identifier;

the RPA task characteristics specifically include an RPA task execution mode, an emergency degree, an execution characteristic, a connection type corresponding to a task initiator, and a feedback mode of RPA task information.

3. The method for managing the task of an RPA robot according to claim 2, wherein the step of obtaining the RPA robot or the RPA robot group in an idle state with an optimal matching result according to the preset matching rule and the RPA task feature specifically comprises:

the RPA robot has robot characteristics, and the preset matching rule sets a calculation mode of the matching degree of the RPA task characteristics and different robot characteristics;

the RPA controller calculates the matching degree with different robot characteristics according to the RPA task characteristics of the current RPA task, selects the robot characteristics with the highest matching degree from the matching degrees, and acquires the RPA robot or the RPA robot group with the robot characteristics;

the RPA robot group is an RPA robot group with the same robot characteristics, an internal distribution algorithm is arranged in the RPA robot group, and the internal distribution algorithm is used for quickly determining the RPA robots in the RPA robot group for executing RPA tasks.

4. The method for managing tasks of an RPA robot according to claim 1, wherein the step of the PRA controller performing status update on all RPA tasks stored in the RPA controller according to a predetermined time interval and a polling policy specifically comprises:

the RPA controller polls the RPA robot in the current execution state according to the preset actual interval and polling strategy, and acquires the state information of the RPA task executed by the RPA robot;

if the RPA task executed by the RPA robot is inquired to be finished, the RPA controller updates the state information of the corresponding RPA task to be in an 'end' state; and sending the execution result of the RPA task to an appointed receiver according to a preassigned route;

if the RPA task executed by the RPA robot is abnormal, the RPA controller stores the abnormal information of the RPA task execution and updates the state information corresponding to the RPA task to be in an abnormal state; and executing RPA task exception reply processing according to a pre-specified RPA task exception processing strategy, and sending the RPA task exception information to a specified receiver according to a preset route.

5. The method for managing tasks of an RPA robot according to claim 1, further comprising a step of enabling a task initiator to remotely initiate a task request using a web site, specifically:

establishing a web site as a robot shared operation center, and establishing a data channel between the web site and the RPA controller;

and the web site sends the task request to the RPA controller through a data channel.

6. The method for managing tasks of an RPA robot according to claim 5, wherein:

a user logs in the web site through biological characteristics;

the web site background saves the biological characteristics of the allowed task initiator as login credential information;

the user scans the biological identification information through the biological identification device and uploads the biological identification information to the web site, the web site verifies the biological identification information according to the login credential information, and the current user is allowed to log in the web site if the verification is passed;

the website also provides a human-computer interaction interface for managing and operating the login credential information.

7. An electronic device, comprising: a communication interface for communication; a memory for information storage; a processor, connected to the communication interface and the memory respectively, for controlling the communication of the communication interface and the information storage of the memory by executing the computer-executable instructions on the processor, wherein the processor implements the task management method of the RPA robot according to any one of claims 1 to 6 when executing the computer-executable instructions.

8. A computer storage medium having stored thereon computer-executable instructions; the method is characterized in that: the computer-executable instructions, when executed, implement a method for RPA robot task management as claimed in any one of claims 1-6.

Technical Field

The invention relates to a method, equipment and a storage medium for managing tasks of an RPA robot, and relates to the technical field of robot automation processes.

Background

A Process Automation Robot (RPA) is a product solution that automates manual activities by performing repetitive rule-based tasks. RPA mainly aims at completing automatic processing by using a human-computer interaction interface, and uses a software robot to replace manual operation.

The RPA is different from a traditional processing flow management platform (BPMS), does not need aggressive integration, does not need to change the bottom IT system/application system architecture of a user, does not need large-scale user training, does not need to use coding knowledge of the user, and can give full freedom to business personnel to reflect the change requirement to the corresponding automatic flow configuration under the condition of not relating to an IT team.

The RPA robot includes three components: designer, robot, controller. The designer is used for modeling an automatic flow execution rule, and the controller controls the whole platform. In addition, a database is required to store data such as automation scripts, account permissions, system configuration and operation logs.

In the prior art, when a controller of an RPA robot is adopted to manage an RPA task that the RPA robot needs to execute, only a specific RPA robot is allowed to be designated to complete the RPA task before the RPA task is executed, and the operation of the RPA task to the RPA robot can be realized only through a specific RPA client, so that the efficiency of the RPA task that the controller of the RPA robot needs to execute to the RPA robot is low, the RPA task can only be manually operated by a user, and obviously, the operation is complex, the automation degree is low, the efficiency is low, and errors are easy to occur. And the execution state and result of the RPA task executed by the specific RPA robot can be monitored only by the specific RPA client, so that the use of the RPA client is limited, and the RPA robot is difficult to be managed efficiently. The RPA task is a specific instance executed on a specific RPA robot by an automatic process operation modeling rule configured by an RPA designer in advance.

Disclosure of Invention

In order to solve the problems in the prior art, the invention provides a task management method, a device and a storage medium for an RPA robot, which are used for acquiring the state of the RPA robot, distributing RPA tasks to the RPA robots in an idle state, automatically appointing the most suitable RPA robot to execute the tasks according to a preset matching rule, and improving the management efficiency of the RPA tasks.

The technical scheme of the invention is as follows:

in a first aspect, an embodiment of the present invention provides a task management method for an RPA robot, including the following steps:

a task initiator (RPA) controller initiates an RPA task request, wherein the RPA task request comprises RPA task information and task initiator information;

the RPA controller checks the RPA task request, and encrypts and stores the RPA task information and the task initiator information if the check is passed;

the RPA controller identifies RPA task characteristics according to the RPA task information and the task initiator information, acquires an RPA robot or an RPA robot group with an optimal matching result and in an idle state according to a preset matching rule and the RPA task characteristics, and assigns the RPA task to the RPA robot or the RPA robot group with the optimal matching result and in the idle state for execution;

and the RPA robot or the RPA robot group executes the RPA task and feeds back the state information of the RPA task to the RPA controller, and the PRA controller updates the state of all the RPA tasks stored in the RPA controller according to a preset time interval and a polling strategy.

In another embodiment of the present invention, the RPA task information includes an RPA task type, an RPA task identifier, and an RPA task start parameter; the task initiator information comprises an RPA task initiator type and an RPA task initiator identifier;

the RPA task characteristics specifically include an RPA task execution mode, an emergency degree, an execution characteristic, a connection type corresponding to a task initiator, and a feedback mode of RPA task information.

In another embodiment of the present invention, the step of obtaining the RPA robot or the RPA robot group in an idle state with an optimal matching result according to the preset matching rule and the RPA task feature specifically includes:

the RPA robot has robot characteristics, and the preset matching rule sets a calculation mode of the matching degree of the RPA task characteristics and different robot characteristics;

the RPA controller calculates the matching degree with different robot characteristics according to the RPA task characteristics of the current RPA task, selects the robot characteristics with the highest matching degree from the matching degrees, and acquires the RPA robot or the RPA robot group with the robot characteristics;

the RPA robot group is an RPA robot group with the same robot characteristics, an internal distribution algorithm is arranged in the RPA robot group, and the internal distribution algorithm is used for quickly determining the RPA robots in the RPA robot group for executing RPA tasks.

In another embodiment of the present invention, the step of the PRA controller performing state update on all RPA tasks stored in the RPA controller according to a predetermined time interval and a polling policy specifically includes:

the RPA controller polls the RPA robot in the current execution state according to the preset actual interval and polling strategy, and acquires the state information of the RPA task executed by the RPA robot;

if the RPA task executed by the RPA robot is inquired to be finished, the RPA controller updates the state information of the corresponding RPA task to be in an 'end' state; and sending the execution result of the RPA task to an appointed receiver according to a preassigned route;

if the RPA task executed by the RPA robot is abnormal, the RPA controller stores the abnormal information of the RPA task execution and updates the state information corresponding to the RPA task to be in an abnormal state; and executing RPA task exception reply processing according to a pre-specified RPA task exception processing strategy, and sending the RPA task exception information to a specified receiver according to a preset route.

In another embodiment of the present invention, the method further includes a step of enabling the task initiator to remotely initiate the task request by using the web site, specifically:

establishing a web site as a robot shared operation center, and establishing a data channel between the web site and the RPA controller;

and the web site sends the task request to the RPA controller through a data channel.

In another embodiment of the invention, a user logs into the web site by biometric features;

the web site background saves the biological characteristics of the allowed task initiator as login credential information;

the user scans the biological identification information through the biological identification device and uploads the biological identification information to the web site, the web site verifies the biological identification information according to the login credential information, and the current user is allowed to log in the web site if the verification is passed;

the website also provides a human-computer interaction interface for managing and operating the login credential information.

In a second aspect, an embodiment of the present invention provides an electronic device, including: a communication interface for communication; a memory for information storage; and the processor is respectively connected with the communication interface and the memory and used for controlling the communication of the communication interface and the information storage of the memory by executing computer executable instructions positioned on the processor, and when the processor executes the computer executable instructions, the task management method of the RPA robot is realized.

In a third aspect, an embodiment of the present invention provides a computer storage medium storing computer-executable instructions; after being executed, the computer-executable instructions implement a task management method for an RPA robot according to any embodiment of the present invention.

The invention has the following beneficial effects:

1. the invention relates to a method, equipment and a storage medium for managing tasks of an RPA robot, which maximize the resource utilization rate of the RPA robot by acquiring the state of the RPA robot, distributing the RPA tasks to the RPA robot in an idle state, and automatically appointing the most suitable RPA robot to execute the tasks according to a preset matching rule.

2. The invention discloses a method, equipment and a storage medium for managing tasks of an RPA robot, which are used for separating submission, matching, state monitoring and exception handling of RPA tasks, improving the stability of an RPA controller and enhancing user experience.

3. The invention discloses a task management method, a device and a storage medium of an RPA robot, which realize the function decoupling of an RPA controller and the RPA robot, realize a clustering mechanism by grouping through the characteristics of the RPA robot and avoid single-point faults.

4. According to the task management method, the equipment and the storage medium of the RPA robot, a web site is established as a robot sharing operation center, the problem of environment compatibility of service personnel is solved, and the deployment and maintenance cost is reduced.

5. The invention relates to a task management method, equipment and a storage medium of an RPA robot, which utilize biological information of a user to carry out certificate management, and can finish system login by automatic biological information sampling without inputting electronic account information when the user logs in an RPA robot platform; the problems that a service user manually remembers account information, forgets the account information easily, leaks the account information easily and the like are solved, quick login is realized by using the biological identification information of the user, the risk that the certificate information is forged and abused is reduced, and the safety and the use convenience of the RPA robot platform are improved.

Drawings

FIG. 1 is a schematic flow chart of an embodiment of the present invention;

FIG. 2 is a system module architecture diagram corresponding to the RPA robot task management method of the present invention;

fig. 3 is a schematic flow chart of another embodiment of the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

It should be understood that the step numbers used herein are for convenience of description only and are not intended as limitations on the order in which the steps are performed.

It is to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.

The terms "comprises" and "comprising" indicate the presence of the described 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.

The term "and/or" refers to and includes any and all possible combinations of one or more of the associated listed items.

The first embodiment is as follows:

referring to fig. 1 and 2, the present embodiment provides a task management method for an RPA robot, which applies an RPA controller including: the system comprises an RPA task receiving module, an RPA task storage module, an RPA task allocation decision module, an RPA task state monitoring module, an RPA task result storage module and an RPA task exception processing module;

the method comprises the following steps:

and the task initiator initiates an RPA task request to the task receiving module, wherein the RPA task request comprises RPA task information and task initiator information.

After receiving an RPA task request sent by an RPA task initiator, the RPA task receiving module verifies the RPA task request, and sends the verified RPA task request to an RPA task storage module; the RPA task storage module encrypts and obfuscates the RPA task information which is received by the RPA task receiving module and accords with the RPA task initiator definition standard and the RPA task definition standard and the corresponding RPA task initiator information through a preset encryption algorithm, and then stores the RPA task information and the corresponding RPA task initiator information in a temporary storage medium; the encryption algorithm is preset before the RPA controller runs, and the encryption algorithm is manually determined, and an encryption key and a storage position of the encryption key are set. The encryption algorithm, encryption key and storage location of the encryption key may be modified during operation of the RPA controller and become active after the RPA controller is restarted.

If the RPA task information or the RPA task initiator information does not meet the predefined standard, the RPA task receiving module returns the RPA task to the RPA task initiator in real time and prompts the check error information.

The RPA task allocation decision module inspects the RPA tasks stored in the RPA task storage module according to a preset time interval, reads RPA task information and task initiator information of the RPA tasks to identify RPA task characteristics according to a preset matching rule for the RPA tasks of the RPA robots which are not allocated, identifies an allocation decision algorithm suitable for the RPA tasks, and performs decision processing on the RPA task information and the RPA task initiator information by using the algorithm to obtain the task characteristics of the RPA tasks; and the RPA task allocation decision module is used for comparing the RPA task characteristics with the RPA robot and the RPA robot group state in the idle state in the RPA controller, screening the RPA robot or the RPA robot group which is most suitable for executing the task, and assigning the RPA task to be executed by the RPA robot or the RPA robot group.

In an embodiment of the present invention, the allocation decision algorithm may be a linear/nonlinear weighting algorithm or a deep learning algorithm, and the RPA task information and the task initiator information are used as inputs, and the task characteristics of the RPA task are output, and then the task characteristics query a suitable RPA robot or RPA robot group.

In another embodiment of the present invention, the preset matching rule may be to classify and group the RPA tasks and the RPA robots in advance, classify and group the RPA tasks according to the RPA task characteristics, may be divided into a/B/C/D … … Z groups according to categories, each group corresponds to a different RPA task category, may classify the RPA tasks according to task urgency, and is divided into a highest priority, a high priority, a medium priority, a low priority, and the like; and (3) setting the RPA task group and level suitable for execution for different RPA robots or RPA robot groups, namely, automatically appointing the suitable RPA robot or RPA robot group to execute the task according to the task characteristics of the RPA.

The RPA robot or the RPA robot group executes the RPA task and feeds back the state information of the RPA task to the RPA controller, and the RPA task state monitoring module updates the state of all the RPA tasks stored in the RPA controller according to a preset time interval and a polling strategy.

In another embodiment of the present invention, the RPA task information includes an RPA task type, an RPA task identifier, and an RPA task start parameter; the task initiator information comprises an RPA task initiator type and an RPA task initiator identifier;

the RPA task characteristics specifically include an RPA task execution mode, an emergency degree, an execution level, a connection type corresponding to a task initiator, and a feedback mode of RPA task information.

In another embodiment of the present invention, the step of obtaining the RPA robot or the RPA robot group in an idle state with an optimal matching result according to the preset matching rule and the RPA task feature specifically includes:

the RPA robot can feed back the self state to the RPA controller in real time, the self state comprises an idle state and a task execution state, and an idle list is generated in the RPA controller to store the RPA robot in the idle state;

the RPA robot has robot characteristics, and the preset matching rule sets a calculation mode of the matching degree of the RPA task characteristics and different robot characteristics; the matching degree calculation mode can be a linear/nonlinear weighting algorithm or a deep learning algorithm;

the RPA task allocation decision module calculates the matching degree with different robot characteristics according to the RPA task characteristics of the current RPA task, selects the robot characteristics with the highest matching degree from the matching degrees, and acquires the RPA robot or the RPA robot group with the robot characteristics from an idle list;

wherein, the RPA robot group is an RPA robot group with the same robot characteristics, and the RPA robot group has an internal allocation algorithm therein, and the internal allocation algorithm is used for quickly determining the RPA robot in the RPA robot group which executes the RPA task, and the internal allocation algorithm is usually a simple algorithm which can be quickly executed, such as: and a random algorithm, a greedy algorithm and the like can ensure that the RPA tasks can be distributed to the determined RPA robots to be executed without being responsible for algorithm decision after the RPA tasks are distributed to the RPA robot groups.

In another embodiment of the present invention, the step of the PRA controller performing state update on all RPA tasks stored in the RPA controller according to a predetermined time interval and a polling policy specifically includes:

the RPA task state monitoring module polls the RPA robot in the current execution state according to the preset actual interval and polling strategy to acquire the state information of the RPA task executed by the RPA robot;

if the RPA task executed by the RPA robot is inquired to be finished, the RPA task state monitoring module updates the state information of the corresponding RPA task to be in an 'end' state;

if the RPA task executed by the RPA robot is abnormal, the RPA task state monitoring module stores RPA task execution abnormal information and informs the RPA task abnormal processing module, the abnormal processing module processes abnormal reply, abnormal information alarm and the like in the RPA controller according to the RPA task type and the preset abnormal processing rule corresponding to the abnormal of the RPA task, and the state information corresponding to the RPA task is updated to be in an abnormal state;

the RPA task result storage module stores the task result information output when the RPA task is finished; after the RPA task executed by the RPA robot is finished, the information of the RPA task execution result is fed back to the RPA task result module for storage, if the RPA task information in the RPA task storage module contains task result notification routing information, the RPA result storage module sends the read result routing notification information to an execution receiver according to the routing setting;

after receiving the RPA task processing exception information fed back by the RPA robot, the RPA task exception handling module processes the exception according to a preset exception handling rule and reads the RPA task specific exception handling rule stored in the RPA task handling module, and notifies an appointed early warning information receiver of the exception information according to the preset early warning rule.

Referring to fig. 3, the present embodiment provides a specific process of an RPA robot task management method:

step S110: a task initiating direction RPA controller initiates an RPA task request;

step S120: the RPA task and the initiator information pass the verification, and the RPA task information is stored in an RPA task storage module;

step S130, the RPA task is stored in a temporary storage medium after being encrypted;

step S140: identifying RPA task and initiator information characteristics, reading corresponding task matching strategies, and performing task matching with the state information of the RPA robot or RPA robot group;

step S150: polling the RPA task state according to a preset time interval and a polling strategy;

step S160: the RPA task monitoring module receives RPA task execution state updating information fed back by the RPA robot;

step S170, the RPA task monitoring module updates, forwards and updates the RPA task execution state information;

step S180: the RPA task result storage module receives RPA task result information fed back by the RPA robot;

step S190: the RPA task result storage module forwards and updates the RPA task result information;

step S200: the RPA exception handling module receives RPA task exception information fed back by the RPA robot;

and step S210, the RPA exception handling module forwards and updates the RPA task exception information.

In another embodiment of the present invention, the method further includes a step of enabling the task initiator to remotely initiate the task request by using the web site, specifically:

establishing a web site as a robot shared operation center, and establishing a data channel between the web site and the RPA controller;

and the web site sends the task request to the RPA controller through a data channel.

In another embodiment of the invention, a user logs into the web site by biometric features;

the web site background saves the biological characteristics of the allowed task initiator as login credential information; the biometric features include, but are not limited to, fingerprint information, face modeling information, eye pupil color information, eye pupil distance information, eye pupil pattern information, voiceprint information, and other information that can uniquely determine the identity of the user.

The user scans the biological identification information through the biological identification device and uploads the biological identification information to the web site, the web site verifies the biological identification information according to the login credential information, and the current user is allowed to log in the web site if the verification is passed; and if the verification fails, refusing the user to log in the web site.

The website also provides a human-computer interaction interface for managing and operating the login credential information.

The embodiment of the invention provides an RPA task arranging mode, which comprises the following steps:

the first step is as follows: and (4) the service personnel opens the local browser and transfers the local browser to the Web site of the robot shared operation center.

The second step is that: the service personnel samples the biological identification information through biological information sampling equipment;

the third step: the robot shared operation center Web site reads the biological identification information and verifies the biological identification information with RPA certificate information stored in a background; if the verification is passed, logging in a Web site of the robot shared operation center;

the fourth step: the service personnel select an automatic process from the service list, input service parameters and submit to execution.

The fifth step: and the Web background sends the task to the interface robot.

And a sixth step: the interface robot writes the task into a task queue.

The seventh step: and the service robot polls the task queue to obtain the task.

Eighth step: and the business robot executes the task, acquires the certificate from the certificate queue and accesses the business system.

The ninth step: and the service robot synchronously writes the log and the result into a log queue.

The tenth step: the log is returned to the polling log queue of the robot, and the log and the result are sent to the Web background.

The eleventh step: and business personnel check the log and the result at the front end of the Web.

Example two:

the present embodiment provides an electronic device, including: a communication interface for communication; a memory for information storage; and the processor is respectively connected with the communication interface and the memory and used for controlling the communication of the communication interface and the information storage of the memory by executing computer executable instructions positioned on the processor, and when the processor executes the computer executable instructions, the task management method of the RPA robot is realized.

Example three:

the present embodiments provide a computer storage medium having stored thereon computer-executable instructions; after being executed, the computer-executable instructions implement a task management method for an RPA robot according to any embodiment of the present invention.

The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种应用于五轴数控机床的拐角过渡方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类