UiPath Documentation
robot
2022.10
false
Robot 管理员指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

机器人服务

The robot service is the brain of all operations. It communicates through an inter-process communication channel with Studio , the , and Robot Command Line Interface to receive and process information, and then to provide the necessary instructions to the Robot Executor.

机器人服务同样负责将机器人检测信号发送到 Orchestrator,以传达执行状态或接收新的执行命令,进而充当 Orchestrator 和执行主机之间的代理。

执行流程的 Windows 会话由机器人服务管理和监控,同时也受机器人凭据的信任。

机器人服务可以在服务模式或用户模式下部署。主要区别如下表所示:

操作服务模式机器人用户模式机器人
有人值守的执行
无人值守执行(自动会话管理)1
并发作业执行
单台计算机 - 多用户部署

1仅当用户使用活动会话登录时,才可以使用用户模式机器人进行无人值守执行。

服务模式机器人服务

服务模式机器人最适合无人值守自动化场景。执行流程时,机器人执行程序会使用与注册它的用户相同的权限运行。

服务模式机器人服务:

  • 为计算机上的每个用户使用 UiPath.Service.Host.exe 和其他按用户的服务 (UiPath.Service.UserHost.exe)。
  • 由本地系统用户下的服务控制管理器 (SCM) 启动。
  • 可以打开交互式 Windows 会话。
  • 最适合无人值守的自动化场景和大规模平台部署。
  • 拥有计算机管理员的权限。
  • 在 Windows 服务列表中。
  • 即使用户未通过启动会话登录,也可以从 Orchestrator 执行作业。

此外:

  • UiPath.settings 文件安装在 %ProgramData%\UiPath 文件夹中。

  • 系统默认将程序包下载至 %userprofile%\.nuget\packages 文件夹。

  • 本地包保存在 %ProgramData%\UiPath\Packages 文件夹中,可在 Assistant 中使用。

    A Service Mode Robot can be easily updated or converted to a User Mode Robot.

    备注:

    When converting the Robot from Service-Mode to User-Mode, the Robot might not be able to access the .xaml files from the original NuGet Packages folder. For details on how to resolve this, please read which offers more details on this specific scenario.

用户模式机器人服务

用户模式机器人最适合有人值守自动化场景。此机器人会在安装它的用户下运行,并拥有与该特定用户完全相同的权限。

用户模式机器人服务:

  • 仅使用 UiPath.Service.UserHost.exe,并由 Studio 或 UiPath Assistant 自动启动。
  • 最适合有人值守的自动化场景。
  • 拥有运行此服务的用户的权限。
  • 不在 Windows 服务列表中。
  • 要求用户使用活动会话登录,才能从 Orchestrator 执行作业。

此外:

  • 系统会将 UiPath.settings 文件安装在 %LocalAppData%\UiPath 文件夹中。

  • 包将下载到 %userprofile%\.nuget\packages 文件夹中。

  • 本地包保存在 %ProgramData%\UiPath\Packages 文件夹中,可在 Assistant 中使用。

    A User Mode Robot can easily be updated or converted to a Service Mode Robot .

  • 服务模式机器人服务
  • 用户模式机器人服务

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新