人工任务的另一种状态是子任务状态。
将所有的子任务结果组合为最终结果。
首先,确保所有子任务完成。
您希望进一步分析这个活动及其子任务。
You want to analyze this activity and further detail its sub-tasks.
对于每个分配的用户,自动地创建一个子任务。
您可以取消子任务并查看已完成的子任务的结果。
You can cancel subtasks and view the results of completed subtasks.
一个任务的取消操作也可以传递给所有的子任务。
在编写测试时,我发现了另一个重要的子任务。
As I wrote tests, I discovered another important decomposed task. Here is the entire list.
在此场景中,该任务称作是流程的“子任务”。
The task is said to be a “child task” of the process in this scenario.
如图1 所示,流程中的前三个子任务分别是
The first three sub-tasks in the process, as listed in Figure 1
甚至在主要任务中,也要留意将需要大多数工作的子任务。
Even within the major tasks, look at the subtasks that are going to require the most work.
每个内部节点必须等待(依赖于)其两个(或多个)子任务。
Each internal node must wait (depend on) its two (or more) child tasks.
作业调度器生成多个线程,每个线程包含执行不同子任务的代码。
The job dispatcher spawns multiple threads, each containing the code for a different subtask.
为了方便起见,我们将整个开发工作划分为多个增量型的子任务。
For convenience, we subdivide the overall development effort into a number of incremental sub-tasks. In this installment we provide a detailed walkthrough of the following subtasks.
在这些线程中,半数线程会用几乎整个生命周期来等待子任务的完成。
And, of those, half would spend almost their entire lives waiting for subtasks to complete.
可以使用可选的完成功能提前完成任务,即使子任务还没有全部完成。
An optional completion function is available to preemptively complete the task, even if all of the subtasks are not yet completed.
子任务完成或满足完成条件之后,需要把结果聚合为人工任务的输出。
Once the subtasks have completed or the completion condition has been met, the results need to be aggregated into the output of the human task.
剖析我们的用例,您可以看到它们现在全都由少数公共子任务组成。
Deconstructing our use cases, you can see that they are now all composed of a few common sub-tasks.
线程在作业调度器上调度,所以理论上讲,该机器不应该用于执行任何子任务。
Threads are scheduled on the job dispatcher, so ideally this machine should not be used to execute any subtasks.
您可以创建子任务以将工作委托给另一个用户、查看子任务,以及查看子任务的状态。
You can create a subtask to refer work to another user, view subtasks, and view their status.
然后,在缩减过程中,主节点把所有子任务的结果组合成输出,这就是原任务的结果。
In the Reduce process, the master node then takes the answers of all the sub-tasks and combines them to get the output, which is the result of the original task.
对每一部分的任务作出计划,这样你能够将注意集中到完成子任务上而不是整个任务。
Plan each part of the task so that you are focusing on completing the sub task rather than the overall task.
您可以为一个SubTask类取任何名字,不过这个名字应该能描述分配给它的子任务。
You may give any name to a subtask class, though it should represent the assigned subtask.
清单3中的备忘单内容定义了包含两个子任务组的根任务组,每一个子任务组包含两个任务。
The cheat sheet content in Listing 3 defines a root task group containing two subtask groups, each containing two tasks.
分解大任务为一系列的子任务,这些子任务最多不需要你花4 - 12个小时来编码。
Break down your tasks into sub tasks that you think should take no longer than 4-12 hours to code.
流程管理员是流程的每个活动、内联任务(包括其子任务和后续任务)或任务升级的管理员。
A process administrator is administrator for every activity, inline task (including its sub - and follow-on tasks), or task escalation of the process.
流程阅读者是流程的每个活动、内联任务(包括其子任务和后续任务)或任务升级的阅读者。
A process reader is reader for every activity, inline task (including its sub - and follow-on tasks), or task escalation of the process.
在本文的内容中,并行性指的是能够并行执行多个请求或者将大数据量任务划分成多个并行执行的子任务。
In the content of this article, parallelism is the ability to execute multiple requests in parallel or to split a large dataset task into multiple subtasks which are executed in parallel.
当用户认领某个任务时,该用户可以将任务的某个部分委托给另一个用户,从而将人工任务置于子任务状态。
When a user claims a task, the user can delegate a portion of task to another user, which puts the human task in the subtask state.
在映射过程中,主节点接收输入,把输入分割为更小的子任务,然后把这些子任务分布到工作者节点。
In the Map process, the master node takes the input, divides it up into smaller sub-tasks, and distributes those to worker nodes.
应用推荐